mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 03:44:06 -05:00
gnu: rust-nix-0.22: Update to 0.22.3.
* gnu/packages/crates-io.scm (rust-nix-0.22): Update to 0.22.3. [source]: Add snippet allowing newer versions of dependencies. [arguments]: Don't skip build. Skip tests. [cargo-inputs]: Replace rust-bitflags-1.2 with 1. [cargo-development-inputs]: Add rust-assert-impl-0.1, rust-caps-0.5, rust-lazy-static-1, rust-rand-0.8, rust-semver-1, rust-sysctl-0.1, rust-tempfile-3. [inputs]: Replace rust-bitflags-1.2 with rust-bitflags.
This commit is contained in:
parent
3710685a57
commit
3e2a2616be
1 changed files with 18 additions and 6 deletions
|
@ -38942,24 +38942,36 @@ (define-public rust-nix-0.22
|
||||||
(package
|
(package
|
||||||
(inherit rust-nix-0.23)
|
(inherit rust-nix-0.23)
|
||||||
(name "rust-nix")
|
(name "rust-nix")
|
||||||
(version "0.22.1")
|
(version "0.22.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "nix" version))
|
(uri (crate-uri "nix" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0cahgzxhdwsaa8491n6cn8gadgfsxk5razyfw4xr3k34f5n5smg7"))))
|
(base32 "1bsgc8vjq07a1wg9vz819bva3dvn58an4r87h80dxrfqkqanz4g4"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin (substitute* "Cargo.toml"
|
||||||
|
((">= 1\\.1\\.0, < 1\\.3\\.0") ">= 1.1.0"))))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:tests? #f ; Tests hang forever.
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-bitflags" ,rust-bitflags-1.2)
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
("rust-cc" ,rust-cc-1)
|
("rust-cc" ,rust-cc-1)
|
||||||
("rust-cfg-if" ,rust-cfg-if-1)
|
("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-memoffset" ,rust-memoffset-0.6))))
|
("rust-memoffset" ,rust-memoffset-0.6))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-assert-impl" ,rust-assert-impl-0.1)
|
||||||
|
("rust-caps" ,rust-caps-0.5)
|
||||||
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
|
("rust-rand" ,rust-rand-0.8)
|
||||||
|
("rust-semver" ,rust-semver-1)
|
||||||
|
("rust-sysctl" ,rust-sysctl-0.1)
|
||||||
|
("rust-tempfile" ,rust-tempfile-3))))
|
||||||
(inputs
|
(inputs
|
||||||
(list rust-bitflags-1.2 rust-cc-1 rust-cfg-if-1 rust-libc-0.2
|
(list rust-bitflags-1 rust-cc-1 rust-cfg-if-1 rust-libc-0.2
|
||||||
rust-memoffset-0.6))))
|
rust-memoffset-0.6))))
|
||||||
|
|
||||||
(define-public rust-nix-0.21
|
(define-public rust-nix-0.21
|
||||||
|
|
Loading…
Reference in a new issue