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 @@ (define-public rust-new-debug-unreachable-1
|
|||
release (fork of debug_unreachable)")
|
||||
(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
|
||||
(package
|
||||
(inherit rust-nix-0.19)
|
||||
(name "rust-nix")
|
||||
(version "0.17.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "nix" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h"))))
|
||||
(build-system cargo-build-system)
|
||||
(base32 "0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h"))))
|
||||
(arguments
|
||||
`(#:tests? #f ; test suite hangs
|
||||
`(#:tests? #f ; test suite hangs
|
||||
#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
("rust-cc" ,rust-cc-1)
|
||||
|
@ -17510,11 +17543,7 @@ (define-public rust-nix-0.17
|
|||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-rand" ,rust-rand-0.6)
|
||||
("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 "Rust friendly bindings to *nix APIs.")
|
||||
(license license:expat)))
|
||||
("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-nix-0.15
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue