From 8d1faae9af76c389b138adda13730053a68bd306 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 3 Jan 2021 12:20:05 +0200 Subject: [PATCH] gnu: Add rust-nix-0.18. * gnu/packages/crates-io.scm (rust-nix-0.18): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 94301f9b82..b68ef080ac 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17687,6 +17687,34 @@ (define-public rust-nix-0.19 while still providing platform specific APIs.") (license license:expat))) +(define-public rust-nix-0.18 + (package + (inherit rust-nix-0.19) + (name "rust-nix") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m8h9bskjjqx9sk687z8bxqg2kpwhdh78jq6zfaxsb8llvk0yic3")))) + (arguments + `(#:tests? #f ; test suite hangs + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-0.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)))))) + (define-public rust-nix-0.17 (package (inherit rust-nix-0.19)