diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-17 12:35:59 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:44 +0300 |
commit | c6ebe23e6bfa88d420983c590861b104006a1e66 (patch) | |
tree | 133ac3daf1c59aa29af63e3ab7dbd956766c4613 /gnu | |
parent | ac2da48841fba2ca17ab566a3ab47c20aa117af5 (diff) | |
download | guix-c6ebe23e6bfa88d420983c590861b104006a1e66.tar.gz |
gnu: rust-sleef-sys-0.1: Use newer dependencies.
* gnu/packages/crates-io.scm (rust-sleef-sys-0.1)[source]: Adjust snippet to use newer dependencies. [cargo-inputs]: Replace rust-cfg-if-0.1 with 1, rust-bindgen-0.46 with 0.59, rust-env-logger-0.6 with 0.9.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dd459d15d0..70d3ee6abe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -59312,15 +59312,22 @@ implementations.") (substitute* "src/lib.rs" ;; __m64 is x86 only, not x86 or x86_64 as in the code. ;; See: https://github.com/gnzlbg/sleef-sys/issues/27 - (("__m64") "// __m64")))))) + (("__m64") "// __m64")) + (delete-file "Cargo.toml") + (rename-file "Cargo.toml.orig" "Cargo.toml") + (substitute* "Cargo.toml" + ;; Dependabot says the dependencies can be updated. + (("cfg-if = \"\\^0.1\"") "cfg-if = \"^1.0\"") + (("env_logger = \"0.6\"") "env_logger = \"0.9\"") + (("bindgen = \"\\^0.46\"") "bindgen = \"^0.59\"")))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) + (("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) - ("rust-bindgen" ,rust-bindgen-0.46) + ("rust-bindgen" ,rust-bindgen-0.59) ("rust-cmake" ,rust-cmake-0.1) - ("rust-env-logger" ,rust-env-logger-0.6)) + ("rust-env-logger" ,rust-env-logger-0.9)) #:phases (modify-phases %standard-phases ;; This makes it easier to test the package. |