gnu: rust-nix-0.26: New variable.
* gnu/packages/crates-io.scm (rust-nix-0.26): New variable. (rust-nix-0.24): Inherit from above. Signed-off-by: Jelle Licht <jlicht@fsfe.org>
This commit is contained in:
parent
4d35a5e2b6
commit
85f37886c9
1 changed files with 29 additions and 9 deletions
|
@ -35384,8 +35384,36 @@ nitrokey crate and others using it.")
|
||||||
nitrokey-test crate.")
|
nitrokey-test crate.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public rust-nix-0.26
|
||||||
|
(package
|
||||||
|
(name "rust-nix")
|
||||||
|
(version "0.26.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "nix" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "155610n6bp37sqg7p0qihzi0jnvqkpqc40nyik89frbc6lfqv9a6"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
`(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-memoffset" ,rust-memoffset-0.7))))
|
||||||
|
(home-page "https://github.com/nix-rust/nix")
|
||||||
|
(synopsis "Rust friendly bindings to *nix APIs")
|
||||||
|
(description
|
||||||
|
"Nix seeks to provide friendly bindings to various *nix platform APIs.
|
||||||
|
The goal is to not provide a 100% unified interface, but to unify what can be
|
||||||
|
while still providing platform specific APIs.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-nix-0.24
|
(define-public rust-nix-0.24
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-nix-0.26)
|
||||||
(name "rust-nix")
|
(name "rust-nix")
|
||||||
(version "0.24.2")
|
(version "0.24.2")
|
||||||
(source
|
(source
|
||||||
|
@ -35395,21 +35423,13 @@ nitrokey-test crate.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1z35n1bhzslr7zawy2c0fl90jjy9l5b3lnsidls3908vfk0xnp0r"))))
|
(base32 "1z35n1bhzslr7zawy2c0fl90jjy9l5b3lnsidls3908vfk0xnp0r"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
(list #:skip-build? #t
|
(list #:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
`(("rust-bitflags" ,rust-bitflags-1)
|
`(("rust-bitflags" ,rust-bitflags-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))))))
|
||||||
(home-page "https://github.com/nix-rust/nix")
|
|
||||||
(synopsis "Rust friendly bindings to *nix APIs")
|
|
||||||
(description
|
|
||||||
"Nix seeks to provide friendly bindings to various *nix platform APIs.
|
|
||||||
The goal is to not provide a 100% unified interface, but to unify what can be
|
|
||||||
while still providing platform specific APIs.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-nix-0.23
|
(define-public rust-nix-0.23
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue