gnu: Add rust-nix-0.19.
* gnu/packages/crates-io.scm (rust-nix-0.19): New variable. (rust-nix-0.17): Inherit from above.
This commit is contained in:
parent
d37f865d22
commit
5c06c4f0f7
@ -17482,22 +17482,55 @@ cryptographic library.")
|
|||||||
release (fork of debug_unreachable)")
|
release (fork of debug_unreachable)")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-nix-0.19
|
||||||
|
(package
|
||||||
|
(name "rust-nix")
|
||||||
|
(version "0.19.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "nix" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1wk1pmaf9pv84sc4jf19gm1as2yq3ydwcx0n5nc1bpsgzq6bmk5j"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; test suite hangs
|
||||||
|
#: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))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-bytes" ,rust-bytes-0.4)
|
||||||
|
("rust-caps" ,rust-caps-0.3)
|
||||||
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
|
("rust-rand" ,rust-rand-0.6)
|
||||||
|
("rust-semver" ,rust-semver-0.9)
|
||||||
|
("rust-sysctl" ,rust-sysctl-0.1)
|
||||||
|
("rust-tempfile" ,rust-tempfile-3))))
|
||||||
|
(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.17
|
(define-public rust-nix-0.17
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-nix-0.19)
|
||||||
(name "rust-nix")
|
(name "rust-nix")
|
||||||
(version "0.17.0")
|
(version "0.17.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "nix" version))
|
(uri (crate-uri "nix" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h"))))
|
||||||
"0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h"))))
|
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; test suite hangs
|
`(#:tests? #f ; test suite hangs
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-bitflags" ,rust-bitflags-1)
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
("rust-cc" ,rust-cc-1)
|
("rust-cc" ,rust-cc-1)
|
||||||
@ -17510,11 +17543,7 @@ release (fork of debug_unreachable)")
|
|||||||
("rust-lazy-static" ,rust-lazy-static-1)
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
("rust-rand" ,rust-rand-0.6)
|
("rust-rand" ,rust-rand-0.6)
|
||||||
("rust-sysctl" ,rust-sysctl-0.1)
|
("rust-sysctl" ,rust-sysctl-0.1)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))
|
("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
(home-page "https://github.com/nix-rust/nix")
|
|
||||||
(synopsis "Rust friendly bindings to *nix APIs")
|
|
||||||
(description "Rust friendly bindings to *nix APIs.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-nix-0.15
|
(define-public rust-nix-0.15
|
||||||
(package
|
(package
|
||||||
|
Loading…
Reference in New Issue
Block a user