From 778df62c4566009289193628ddd40be9a727d086 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Dec 2023 10:17:43 +0200 Subject: [PATCH] gnu: Remove rust-nix-0.17. * gnu/packages/crates-io.scm (rust-nix-0.17): Remove variable. (rust-nix-0.15): Inherit from rust-nix-0.27. Change-Id: Ic31d6567103d9ded590973ceaad6a894946474a8 --- gnu/packages/crates-io.scm | 47 ++++++++++++++------------------------ 1 file changed, 17 insertions(+), 30 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8120634e86..8509ecd023 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49387,37 +49387,9 @@ (define-public rust-nix-0.18 (inputs (list rust-bitflags-1 rust-cc-1 rust-cfg-if-0.1 rust-libc-0.2)))) -(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")) - (sha256 - (base32 "0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h")))) - (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) - ("rust-void" ,rust-void-1)) - #: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-sysctl" ,rust-sysctl-0.1) - ("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-nix-0.15 (package - (inherit rust-nix-0.17) + (inherit rust-nix-0.27) (name "rust-nix") (version "0.15.0") (source @@ -49437,7 +49409,22 @@ (define-public rust-nix-0.15 ;; https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027 (substitute* "Cargo.toml" (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\"")) - #t)))))) + #t)))) + (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) + ("rust-void" ,rust-void-1)) + #: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-sysctl" ,rust-sysctl-0.1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.14 (package