[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/61: gnu: rust-nix-0.26: Update to 0.26.4.
From: |
guix-commits |
Subject: |
10/61: gnu: rust-nix-0.26: Update to 0.26.4. |
Date: |
Thu, 28 Mar 2024 12:00:56 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit a3710b984e5e7197ee4ce322be27468715b50017
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 27 13:46:40 2024 +0200
gnu: rust-nix-0.26: Update to 0.26.4.
* gnu/packages/crates-io.scm (rust-nix-0.26): Update to 0.26.4.
[arguments]: Don't skip the build. Add cargo-test-flags.
[cargo-inputs]: Remove rust-static-assertions-1.
[cargo-development-inputs]: Add rust-assert-impl-0.1, rust-caps-0.5,
rust-lazy-static-1, rust-parking-lot-0.12, rust-rand-0.8, rust-semver-1,
rust-sysctl-0.4, rust-tempfile-3.
Change-Id: Ia66583ca65c27c5604a21098418bb47e085d7e79
---
gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++++-----
1 file changed, 33 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68a347ac61..4b5b9e12c3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43902,23 +43902,51 @@ while still providing platform specific APIs.")
(package
(inherit rust-nix-0.27)
(name "rust-nix")
- (version "0.26.2")
+ (version "0.26.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06lfvjhsj5zlslsg2jhijrm69npprmsh7r1667qnl7c2jv8s7pdz"))))
+ (base32 "06xgl4ybb8pvjrbmc3xggbgk3kbs1j0c4c0nzdfrmpbgrkrym2sr"))))
(arguments
- (list #:skip-build? #t
+ (list #:cargo-test-flags
+ `(list "--release" "--"
+ "--skip=sys::resource::test::test_self_cpu_time"
+ "--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=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"
+ ;; Some doctests segfault.
+ "--skip=sys::personality::set"
+ "--skip=sys::socket::sendmsg"
+ "--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)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
("rust-memoffset" ,rust-memoffset-0.7)
- ("rust-pin-utils" ,rust-pin-utils-0.1)
- ("rust-static-assertions" ,rust-static-assertions-1))))))
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #: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-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-sysctl" ,rust-sysctl-0.4)
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-nix-0.25
(package
- 02/61: gnu: rust-nix-0.21: Update to 0.21.2., (continued)
- 02/61: gnu: rust-nix-0.21: Update to 0.21.2., guix-commits, 2024/03/28
- 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 <=
- 34/61: gnu: Add rust-tectonic-bridge-core-0.4., guix-commits, 2024/03/28
- 41/61: gnu: rust-tectonic-xetex-layout-0.2: Update to 0.2.4., guix-commits, 2024/03/28
- 23/61: gnu: rust-cargo-credential-libsecret-0.4: Update to 0.4.3., guix-commits, 2024/03/28
- 57/61: gnu: netavark: Allow building with newer dependencies., guix-commits, 2024/03/28
- 25/61: build-system/cargo: Use system zstd by default., guix-commits, 2024/03/28
- 35/61: gnu: rust-tectonic-bridge-harfbuzz-0.2: Update to 0.2.9., guix-commits, 2024/03/28
- 08/61: gnu: rust-nix-0.23: Update to 0.23.2., guix-commits, 2024/03/28
- 50/61: gnu: Add rust-atomic-take-1., guix-commits, 2024/03/28
- 60/61: gnu: newsboat: Update to 2.35., guix-commits, 2024/03/28
- 52/61: gnu: rust-watchexec-1: Update to 1.17.2., guix-commits, 2024/03/28