gnu: Add rust-nix-0.21.
* gnu/packages/crates-io.scm (rust-nix-0.21): New variable. (rust-nix-0.20): Inherit from above.master
parent
7b669da767
commit
088e9b5b1b
|
@ -28255,8 +28255,37 @@ nitrokey crate and others using it.")
|
|||
nitrokey-test crate.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public rust-nix-0.21
|
||||
(package
|
||||
(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"))))
|
||||
(build-system cargo-build-system)
|
||||
(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))))
|
||||
(home-page "https://github.com/nix-rust/nix")
|
||||
(synopsis "Rust friendly bindings to *nix APIs")
|
||||
(description
|
||||
"Nix seeks to provide friendly bindings to various *nix platform APIs.
|
||||
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
|
||||
|
@ -28266,21 +28295,13 @@ nitrokey-test crate.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "12n1syfd967hblrcrrqk63a4s1h4hsybfqwblh71rihvv8cli6zs"))))
|
||||
(build-system cargo-build-system)
|
||||
(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))))
|
||||
(home-page "https://github.com/nix-rust/nix")
|
||||
(synopsis "Rust friendly bindings to *nix APIs")
|
||||
(description
|
||||
"Nix seeks to provide friendly bindings to various *nix platform APIs.
|
||||
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)))
|
||||
("rust-libc" ,rust-libc-0.2))))))
|
||||
|
||||
(define-public rust-nix-0.19
|
||||
(package
|
||||
|
|
Reference in New Issue