diff options
| -rw-r--r-- | gnu/packages/crates-io.scm | 45 |
1 files changed, 16 insertions, 29 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8120634e86..8509ecd023 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49387,18 +49387,29 @@ while still providing platform specific APIs.") (inputs (list rust-bitflags-1 rust-cc-1 rust-cfg-if-0.1 rust-libc-0.2)))) -(define-public rust-nix-0.17 +(define-public rust-nix-0.15 (package - (inherit rust-nix-0.19) + (inherit rust-nix-0.27) (name "rust-nix") - (version "0.17.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h")))) + (base32 + "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Unpin the dependency on tempfile, as it was withheld for MSRV + ;; concerns, which don't matter for Guix: + ;; https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027 + (substitute* "Cargo.toml" + (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\"")) + #t)))) (arguments `(#:tests? #f ; test suite hangs #:cargo-inputs @@ -49415,30 +49426,6 @@ while still providing platform specific APIs.") ("rust-sysctl" ,rust-sysctl-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-nix-0.15 - (package - (inherit rust-nix-0.17) - (name "rust-nix") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nix" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Unpin the dependency on tempfile, as it was withheld for MSRV - ;; concerns, which don't matter for Guix: - ;; https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027 - (substitute* "Cargo.toml" - (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\"")) - #t)))))) - (define-public rust-nix-0.14 (package (inherit rust-nix-0.15) |
