[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/61: gnu: rust-nix-0.20: Update to 0.20.2.
From: |
guix-commits |
Subject: |
09/61: gnu: rust-nix-0.20: Update to 0.20.2. |
Date: |
Thu, 28 Mar 2024 12:00:56 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 9e93db2eb7777e003cbb49f7e6c7678a110a0c99
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 27 13:36:12 2024 +0200
gnu: rust-nix-0.20: Update to 0.20.2.
* gnu/packages/crates-io.scm (rust-nix-0.20): Update to 0.20.2.
[arguments]: Don't skip the build. Add cargo-test-flags.
[cargo-inputs]: Add rust-memoffset-0.6. Replace rust-bitflags-1 with
1.2.
[cargo-development-inputs]: Add rust-bytes-0.4, rust-caps-0.5,
rust-lazy-static-1, rust-rand-0.6, rust-semver-0.6, rust-sysctl-0.1,
rust-tempfile-3.
Change-Id: Ife1d32f0d04ad79b6a16930416d1439720bad88a
---
gnu/packages/crates-io.scm | 54 +++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 49 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d5c9d09481..68a347ac61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44110,21 +44110,65 @@ while still providing platform specific APIs.")
(package
(inherit rust-nix-0.21)
(name "rust-nix")
- (version "0.20.0")
+ (version "0.20.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "12n1syfd967hblrcrrqk63a4s1h4hsybfqwblh71rihvv8cli6zs"))))
+ (base32 "0ia96wf568sksplpcxzzf2m5jj974sri93469vpnh5b1zcln3q7m"))))
(arguments
- `(#:skip-build? #t
+ `(#: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"
+ "--skip=sys::test_aio::test_liocb_listio_nowait"
+ "--skip=sys::test_aio::test_liocb_listio_signal"
+ "--skip=sys::test_aio::test_liocb_listio_wait"
+ "--skip=sys::test_aio::test_write_sigev_signal"
+ "--skip=sys::test_select::test_pselect"
+ "--skip=sys::test_signal::test_old_sigaction_flags"
+ "--skip=sys::test_signal::test_signal"
+ "--skip=sys::test_signal::test_signal_sigaction"
+ "--skip=sys::test_signal::test_sigprocmask"
+ "--skip=sys::test_signalfd::test_signalfd"
+ "--skip=test_unistd::test_alarm"
+ "--skip=test_unistd::test_canceling_alarm"
+ ;; 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::aio::LioCb<'a>::listio"
+ "--skip=sys::aio::aio_suspend"
+ "--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)
+ (("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-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.6))
+ #:cargo-development-inputs (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-caps" ,rust-caps-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-semver" ,rust-semver-0.9)
+ ("rust-sysctl" ,rust-sysctl-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-nix-0.19
(package
- 47/61: gnu: Add rust-is-docker-0.2., (continued)
- 47/61: gnu: Add rust-is-docker-0.2., guix-commits, 2024/03/28
- 40/61: gnu: rust-tectonic-io-base-0.4: Update to 0.4.3., guix-commits, 2024/03/28
- 07/61: gnu: Add xremap-hyprland., guix-commits, 2024/03/28
- 19/61: gnu: rust-windows-x86-64-gnullvm-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 46/61: gnu: Add rust-is-wsl-0.4., guix-commits, 2024/03/28
- 58/61: gnu: stgit-2: Allow building with newer dependencies., guix-commits, 2024/03/28
- 32/61: gnu: rust-clearscreen-1: Update to 1.0.11., guix-commits, 2024/03/28
- 53/61: gnu: Add rust-watchexec-events-1., guix-commits, 2024/03/28
- 54/61: gnu: Add rust-watchexec-filterer-globset-1., guix-commits, 2024/03/28
- 61/61: gnu: python-cryptography: Update to 42.0.5., guix-commits, 2024/03/28
- 09/61: gnu: rust-nix-0.20: Update to 0.20.2.,
guix-commits <=
- 21/61: gnu: rust-cargo-credential-macos-keychain-0.4: Update to 0.4.3., guix-commits, 2024/03/28
- 48/61: gnu: Add rust-ignore-files-1., guix-commits, 2024/03/28
- 33/61: gnu: Add rust-command-group-2., guix-commits, 2024/03/28
- 59/61: gnu: rust-curl-sys-0.4: Update to 0.4.72., guix-commits, 2024/03/28
- 49/61: gnu: Add rust-command-group-1., guix-commits, 2024/03/28
- 51/61: gnu: Add rust-async-priority-channel-0.1., guix-commits, 2024/03/28
- 55/61: gnu: Add rust-watchexec-filterer-ignore-1., guix-commits, 2024/03/28
- 56/61: gnu: aardvark-dns: Allow building with newer dependencies., guix-commits, 2024/03/28