[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/61: gnu: rust-nix-0.21: Update to 0.21.2.
From: |
guix-commits |
Subject: |
02/61: gnu: rust-nix-0.21: Update to 0.21.2. |
Date: |
Thu, 28 Mar 2024 12:00:54 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit f719281b98612fe3f5d4bd6ca88f34ee64538a93
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 27 13:14:38 2024 +0200
gnu: rust-nix-0.21: Update to 0.21.2.
* gnu/packages/crates-io.scm (rust-nix-0.21): Update to 0.21.2.
[arguments]: Don't skip the build. Add cargo-test-flags.
[cargo-inputs]: Replace rust-bitflags-1 with 1.2.
[cargo-development-inputs]: Add rust-assert-impl-0.1, rust-caps-0.5,
rust-lazy-static-1, rust-rand-0.8, rust-semver-1, rust-sysctl-0.1,
rust-tempfile-3.
Change-Id: Icf6f072ce83a79a3883e7feb1197cd3a01890758
---
gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++------
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 132643ec37..3066729e7b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44032,22 +44032,52 @@ while still providing platform specific APIs.")
(package
(inherit rust-nix-0.22)
(name "rust-nix")
- (version "0.21.0")
+ (version "0.21.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1isfgr239sxvkcjhcp08rz2nqi4s6w5ik2l2m183ldlxqkz2hdsw"))))
+ (base32 "1iqj1mvf15bja6i3kmsfrmmg5jwd02pxsg1v2ld69q583r9g7nbp"))))
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=test_unistd::test_execve::test_cstr_ref"
+ "--skip=test_unistd::test_execve::test_cstring"
+ "--skip=test_unistd::test_execveat_absolute::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_absolute::test_cstring"
+ ;; Some of the tests hang.
+ "--skip=sys::test_socket::test_af_alg_aead"
+ "--skip=test_unistd::test_execveat_empty::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_empty::test_cstring"
+ "--skip=test_unistd::test_execveat_relative::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_relative::test_cstring"
+ "--skip=test_unistd::test_fexecve::test_cstr_ref"
+ "--skip=test_unistd::test_fexecve::test_cstring"
+ ;; cannot find macro `libc_bitflags` in this scope
+ "--skip=macros::libc_bitflags"
+ "--skip=macros::libc_enum"
+ ;; Some doctests segfault.
+ "--skip=sys::personality::set"
+ "--skip=unistd::Group::from_gid"
+ "--skip=unistd::Group::from_name"
+ "--skip=unistd::User::from_name"
+ "--skip=unistd::User::from_uid")
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1.2) ; Not a newer version.
("rust-cc" ,rust-cc-1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
- ("rust-memoffset" ,rust-memoffset-0.6))))))
+ ("rust-memoffset" ,rust-memoffset-0.6))
+ #:cargo-development-inputs
+ (("rust-assert-impl" ,rust-assert-impl-0.1)
+ ("rust-caps" ,rust-caps-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-sysctl" ,rust-sysctl-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-nix-0.20
(package
- 03/61: gnu: Add rust-sd-notify-0.3., (continued)
- 03/61: gnu: Add rust-sd-notify-0.3., guix-commits, 2024/03/28
- 05/61: gnu: Add rust-temp-env-0.3., guix-commits, 2024/03/28
- 18/61: gnu: rust-windows-x86-64-gnu-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 17/61: gnu: rust-windows-targets-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 27/61: gnu: rust-zstd-sys-2: Update to 2.0.10., guix-commits, 2024/03/28
- 22/61: gnu: rust-cargo-credential-0.4: Update to 0.4.4., guix-commits, 2024/03/28
- 15/61: gnu: rust-windows-i686-gnu-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 26/61: gnu: rust: Skip another test on riscv64-linux., guix-commits, 2024/03/28
- 38/61: gnu: Add rust-tectonic-engine-spx2html-0.3., guix-commits, 2024/03/28
- 42/61: gnu: Add rust-watchexec-2., guix-commits, 2024/03/28
- 02/61: gnu: rust-nix-0.21: Update to 0.21.2.,
guix-commits <=
- 04/61: gnu: rust-slog-async-2: Update to 2.8.0., guix-commits, 2024/03/28
- 06/61: gnu: Add nsncd., guix-commits, 2024/03/28
- 14/61: gnu: rust-windows-aarch64-msvc-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 29/61: gnu: rust-nix-0.22: Run the tests., guix-commits, 2024/03/28
- 28/61: gnu: rust-zstd-sys-2: Unbundle zstd., guix-commits, 2024/03/28
- 30/61: gnu: Add rust-clearscreen-2., guix-commits, 2024/03/28
- 24/61: gnu: rust-cargo-credential-wincred-0.4: Update to 0.4.3., guix-commits, 2024/03/28
- 20/61: gnu: rust-windows-x86-64-msvc-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 31/61: gnu: Add rust-open-4., guix-commits, 2024/03/28
- 10/61: gnu: rust-nix-0.26: Update to 0.26.4., guix-commits, 2024/03/28