gnu: Add rust-nix-0.23.

* gnu/packages/crates-io.scm (rust-nix-0.23): New variable.
(rust-nix-0.22): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2022-01-09 11:57:30 +01:00
parent 79e8791af9
commit d681f88640
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -33163,17 +33163,17 @@ (define-public rust-nitrokey-test-state-0.1
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 @@ (define-public rust-nix-0.22
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)