gnu: Add rust-nix-0.22.
* gnu/packages/crates-io.scm (rust-nix-0.22): New variable. (rust-nix-0.21): Inherit from above.
parent
45ad284090
commit
60f6e97dd9
|
@ -28386,17 +28386,17 @@ nitrokey crate and others using it.")
|
|||
nitrokey-test crate.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public rust-nix-0.21
|
||||
(define-public rust-nix-0.22
|
||||
(package
|
||||
(name "rust-nix")
|
||||
(version "0.21.0")
|
||||
(version "0.22.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "nix" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1isfgr239sxvkcjhcp08rz2nqi4s6w5ik2l2m183ldlxqkz2hdsw"))))
|
||||
(base32 "0cahgzxhdwsaa8491n6cn8gadgfsxk5razyfw4xr3k34f5n5smg7"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
|
@ -28414,6 +28414,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.21
|
||||
(package
|
||||
(inherit rust-nix-0.22)
|
||||
(name "rust-nix")
|
||||
(version "0.21.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "nix" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1isfgr239sxvkcjhcp08rz2nqi4s6w5ik2l2m183ldlxqkz2hdsw"))))
|
||||
(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.20
|
||||
(package
|
||||
(inherit rust-nix-0.21)
|
||||
|
|
Reference in New Issue