gnu: Add rust-nix-0.14.

* gnu/packages/crates-io.scm (rust-nix-0.14): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2020-01-21 10:10:29 -08:00 committed by Efraim Flashner
parent 751d6a8b8a
commit 4f105bbcd1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6938,6 +6938,36 @@ (define-public rust-no-panic-0.1
prove a function can't ever panic.")
(license (list license:expat license:asl2.0))))
(define-public rust-nix-0.14
(package
(inherit rust-nix-0.15)
(name "rust-nix")
(version "0.14.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1kmxdlmvnmq8cfpmr3g6wk37rwi2ybdvp1z6z3831m1p23p2nwkc"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-cc" ,rust-cc-1.0)
("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-void" ,rust-void-1.0))
#:cargo-development-inputs
(("rust-bytes" ,rust-bytes-0.4)
("rust-caps" ,rust-caps-0.3)
("rust-lazy-static" ,rust-lazy-static-1.3)
("rust-rand" ,rust-rand-0.6)
("rust-sysctl" ,rust-sysctl-0.1)
("rust-tempfile" ,rust-tempfile-3.0))))))
(define-public rust-nodrop-0.1
(package
(name "rust-nodrop")