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
This commit is contained in:
Efraim Flashner 2023-12-27 10:17:43 +02:00
parent 1dc1f85524
commit 778df62c45
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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