diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-07-26 10:50:12 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-07-26 10:50:12 +0200 |
commit | 088e9b5b1b1df9ba108477a3fbc94f8fd666aa22 (patch) | |
tree | 176b1acd48939e8e08e1aefc29f56d61b89b67c0 /gnu/packages | |
parent | 7b669da76766cb4f49cececf71bb263691eb38b9 (diff) | |
download | guix-088e9b5b1b1df9ba108477a3fbc94f8fd666aa22.tar guix-088e9b5b1b1df9ba108477a3fbc94f8fd666aa22.tar.gz |
gnu: Add rust-nix-0.21.
* gnu/packages/crates-io.scm (rust-nix-0.21): New variable.
(rust-nix-0.20): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1a044e9b66..5c0395cdcf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28255,17 +28255,17 @@ nitrokey crate and others using it.") nitrokey-test crate.") (license license:gpl3+))) -(define-public rust-nix-0.20 +(define-public rust-nix-0.21 (package (name "rust-nix") - (version "0.20.0") + (version "0.21.0") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12n1syfd967hblrcrrqk63a4s1h4hsybfqwblh71rihvv8cli6zs")))) + (base32 "1isfgr239sxvkcjhcp08rz2nqi4s6w5ik2l2m183ldlxqkz2hdsw")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -28273,7 +28273,8 @@ nitrokey-test crate.") (("rust-bitflags" ,rust-bitflags-1) ("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)))) (home-page "https://github.com/nix-rust/nix") (synopsis "Rust friendly bindings to *nix APIs") (description @@ -28282,6 +28283,26 @@ The goal is to not provide a 100% unified interface, but to unify what can be while still providing platform specific APIs.") (license license:expat))) +(define-public rust-nix-0.20 + (package + (inherit rust-nix-0.21) + (name "rust-nix") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12n1syfd967hblrcrrqk63a4s1h4hsybfqwblh71rihvv8cli6zs")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-nix-0.19 (package (inherit rust-nix-0.20) |