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>master
parent
4d35a5e2b6
commit
85f37886c9
|
@ -35384,8 +35384,36 @@ nitrokey crate and others using it.")
|
|||
nitrokey-test crate.")
|
||||
(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
|
||||
(package
|
||||
(inherit rust-nix-0.26)
|
||||
(name "rust-nix")
|
||||
(version "0.24.2")
|
||||
(source
|
||||
|
@ -35395,21 +35423,13 @@ nitrokey-test crate.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1z35n1bhzslr7zawy2c0fl90jjy9l5b3lnsidls3908vfk0xnp0r"))))
|
||||
(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.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)))
|
||||
("rust-memoffset" ,rust-memoffset-0.6))))))
|
||||
|
||||
(define-public rust-nix-0.23
|
||||
(package
|
||||
|
|
Reference in New Issue