From 0ecc0f2136ce03d89b5a1ee1004dfbb477b0f5d2 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Dec 2019 10:16:46 -0800 Subject: gnu: Add rust-nix-0.15. * gnu/packages/crates-io.scm (rust-nic-0.15): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0181086674..e8e06ef590 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5324,6 +5324,41 @@ pairs in insertion order.") (license (list license:asl2.0 license:expat)))) +(define-public rust-nix-0.15 + (package + (name "rust-nix") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("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-cc" ,rust-cc-1.0) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-rand" ,rust-rand-0.4) + ("rust-sysctl" ,rust-sysctl-0.4) + ("rust-tempfile" ,rust-tempfile-3.0)))) + (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-nodrop-0.1 (package (name "rust-nodrop") -- cgit 1.4.1