[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
176/379: gnu: rust-sleef-sys-0.1: Use newer dependencies.
From: |
guix-commits |
Subject: |
176/379: gnu: rust-sleef-sys-0.1: Use newer dependencies. |
Date: |
Mon, 10 Jul 2023 05:28:33 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit af95cc4d16da65a3eee5172de476c862da6617a7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed May 17 12:35:59 2023 +0300
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.
---
gnu/packages/crates-io.scm | 15 +++++++++++----
1 file 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.
- 121/379: gnu: rust-tokio-threadpool-0.1: Update to 0.1.18., (continued)
- 121/379: gnu: rust-tokio-threadpool-0.1: Update to 0.1.18., guix-commits, 2023/07/10
- 143/379: gnu: rust-pear-0.1: Update to 0.1.5., guix-commits, 2023/07/10
- 146/379: gnu: rust-tokio-stream-0.1: Update to 0.1.14., guix-commits, 2023/07/10
- 148/379: gnu: rust-nix-0.22: Update to 0.22.3., guix-commits, 2023/07/10
- 161/379: gnu: rust-zstd-sys-2: Update to 2.0.8., guix-commits, 2023/07/10
- 165/379: gnu: rust-zstd-0.9: Update to 0.9.3., guix-commits, 2023/07/10
- 167/379: gnu: rust-zstd-safe-4: Update to 4.1.6., guix-commits, 2023/07/10
- 172/379: gnu: Add rust-widestring-1., guix-commits, 2023/07/10
- 173/379: gnu: Add rust-num-format-windows-0.4., guix-commits, 2023/07/10
- 174/379: gnu: rust-num-format-0.4: Update to 0.4.4., guix-commits, 2023/07/10
- 176/379: gnu: rust-sleef-sys-0.1: Use newer dependencies.,
guix-commits <=
- 178/379: gnu: Remove rust-quasi-macros-0.32., guix-commits, 2023/07/10
- 184/379: gnu: Remove rust-asn1-0.8., guix-commits, 2023/07/10
- 187/379: gnu: Remove rust-bindgen-0.47., guix-commits, 2023/07/10
- 189/379: gnu: Remove rust-hyper-rustls-0.17., guix-commits, 2023/07/10
- 191/379: gnu: Remove rust-indexmap-1.6., guix-commits, 2023/07/10
- 202/379: gnu: Remove rust-model-0.1., guix-commits, 2023/07/10
- 208/379: gnu: Remove rust-polars-arrow-0.16., guix-commits, 2023/07/10
- 214/379: gnu: Remove rust-rust-decimal-0.10., guix-commits, 2023/07/10
- 210/379: gnu: Remove rust-proptest-0.8., guix-commits, 2023/07/10
- 107/379: gnu: rust-async-trait-0.1: Update to 0.1.64., guix-commits, 2023/07/10