aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-09 11:57:30 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-09 16:53:31 +0100
commitd681f88640dffb040bfb4ec9d71e36a15bab95f3 (patch)
tree2f0451ccffce63d419c468dd52b2b5dd23c32e1e /gnu
parent79e8791af93ef89ac8e40c034514dfc5cdd6f4fc (diff)
downloadguix-d681f88640dffb040bfb4ec9d71e36a15bab95f3.tar
guix-d681f88640dffb040bfb4ec9d71e36a15bab95f3.tar.gz
gnu: Add rust-nix-0.23.
* gnu/packages/crates-io.scm (rust-nix-0.23): New variable. (rust-nix-0.22): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 24 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f51c8534ce..0f2d96164c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33163,17 +33163,17 @@ nitrokey crate and others using it.")
nitrokey-test crate.")
(license license:gpl3+)))
-(define-public rust-nix-0.22
+(define-public rust-nix-0.23
(package
(name "rust-nix")
- (version "0.22.1")
+ (version "0.23.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0cahgzxhdwsaa8491n6cn8gadgfsxk5razyfw4xr3k34f5n5smg7"))))
+ (base32 "1iimixk7y2qk0jswqich4mkd8kqyzdghcgy6203j8fmxmhbn71lz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -33191,6 +33191,27 @@ 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.22
+ (package
+ (inherit rust-nix-0.23)
+ (name "rust-nix")
+ (version "0.22.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cahgzxhdwsaa8491n6cn8gadgfsxk5razyfw4xr3k34f5n5smg7"))))
+ (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)
+ ("rust-memoffset" ,rust-memoffset-0.6))))))
+
(define-public rust-nix-0.21
(package
(inherit rust-nix-0.22)