summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-19 10:16:46 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:53 +0200
commit0ecc0f2136ce03d89b5a1ee1004dfbb477b0f5d2 (patch)
tree2ed6fa6ebd4cddf324d55607b0bd177fbf81a10a /gnu
parent0cc23d8fa3808908e9ef8d618b0342170310fb5e (diff)
gnu: Add rust-nix-0.15.
* gnu/packages/crates-io.scm (rust-nic-0.15): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 35 insertions, 0 deletions
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")