mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: rust-zeroize-1: Update to 1.5.0.
* gnu/packages/crates-io.scm (rust-zeroize-1): Update to 1.5.0. (rust-zeroize-derive-1): Update to 1.3.1. (rust-rsa-0.5): Enable build, and make sure it builds with rust-zeroize 1.5.0 by relaxing the dependency specification. * gnu/packages/rust-apps.scm (rbw): Relax the dependency specification for rust-zeroize. Also reword the description. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
71f5af0c72
commit
b68c1814f2
2 changed files with 32 additions and 11 deletions
|
@ -48212,8 +48212,7 @@ wildcard segments")
|
||||||
(base32 "039676a4mj0875phdi7vc0bd37hv84dh0dql6fmk8dl2w81jcp70"))))
|
(base32 "039676a4mj0875phdi7vc0bd37hv84dh0dql6fmk8dl2w81jcp70"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:cargo-inputs
|
||||||
#:cargo-inputs
|
|
||||||
(("rust-byteorder" ,rust-byteorder-1)
|
(("rust-byteorder" ,rust-byteorder-1)
|
||||||
("rust-digest" ,rust-digest-0.9)
|
("rust-digest" ,rust-digest-0.9)
|
||||||
("rust-lazy-static" ,rust-lazy-static-1)
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
|
@ -48226,7 +48225,23 @@ wildcard segments")
|
||||||
("rust-rand" ,rust-rand-0.8)
|
("rust-rand" ,rust-rand-0.8)
|
||||||
("rust-serde" ,rust-serde-1)
|
("rust-serde" ,rust-serde-1)
|
||||||
("rust-subtle" ,rust-subtle-2)
|
("rust-subtle" ,rust-subtle-2)
|
||||||
("rust-zeroize" ,rust-zeroize-1))))
|
("rust-zeroize" ,rust-zeroize-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-base64" ,rust-base64-0.13)
|
||||||
|
("rust-hex" ,rust-hex-0.4)
|
||||||
|
("rust-hex-literal" ,rust-hex-literal-0.3)
|
||||||
|
("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
|
||||||
|
("rust-serde-test" ,rust-serde-test-1)
|
||||||
|
("rust-sha-1" ,rust-sha-1-0.9)
|
||||||
|
("rust-sha2" ,rust-sha2-0.9)
|
||||||
|
("rust-sha3" ,rust-sha3-0.9))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'configure 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute*
|
||||||
|
"Cargo.toml"
|
||||||
|
(("version = \">=1, <1.5\"") "version = \"^1\"")))))))
|
||||||
(home-page "https://github.com/RustCrypto/RSA")
|
(home-page "https://github.com/RustCrypto/RSA")
|
||||||
(synopsis "Pure Rust RSA implementation")
|
(synopsis "Pure Rust RSA implementation")
|
||||||
(description "This package provides a pure Rust RSA implementation.")
|
(description "This package provides a pure Rust RSA implementation.")
|
||||||
|
@ -69824,7 +69839,7 @@ crate.")
|
||||||
(define-public rust-zeroize-1
|
(define-public rust-zeroize-1
|
||||||
(package
|
(package
|
||||||
(name "rust-zeroize")
|
(name "rust-zeroize")
|
||||||
(version "1.4.3")
|
(version "1.5.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -69832,7 +69847,7 @@ crate.")
|
||||||
(file-name
|
(file-name
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "068nvl3n5hk6lfn5y24grf2c7anzzqfzjjccscq3md7rqp79v3fn"))))
|
(base32 "1nq8zq5h7ad6kahdk0fxw4fdm0ibycj061jngxqkqchw67n2l8nc"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
|
@ -69849,7 +69864,7 @@ implementation that works everywhere, even WASM!")
|
||||||
(define-public rust-zeroize-derive-1
|
(define-public rust-zeroize-derive-1
|
||||||
(package
|
(package
|
||||||
(name "rust-zeroize-derive")
|
(name "rust-zeroize-derive")
|
||||||
(version "1.0.0")
|
(version "1.3.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -69857,7 +69872,7 @@ implementation that works everywhere, even WASM!")
|
||||||
(file-name
|
(file-name
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "18lc9xq9dwvmv81y3bqnw20974nbrs7d20rljb1inz7wd7n1w9fy"))))
|
(base32 "1nzdqyryjnqcrqz0vhddpkd8sybhn0bd8rbd6l33rdhhxwzz3s41"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
|
|
|
@ -1307,7 +1307,13 @@ runs a command whenever it detects modifications.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute*
|
(substitute*
|
||||||
"guix-vendor/rust-password-hash-0.3.2.tar.gz/Cargo.toml"
|
"guix-vendor/rust-password-hash-0.3.2.tar.gz/Cargo.toml"
|
||||||
(("version = \">=1, <1.1.0\"") "version = \">=1\"")))))
|
(("version = \">=1, <1.1.0\"") "version = \">=1\""))
|
||||||
|
(substitute*
|
||||||
|
"guix-vendor/rust-rsa-0.5.0.tar.gz/Cargo.toml"
|
||||||
|
(("version = \">=1, <1.5\"") "version = \"^1\""))
|
||||||
|
(substitute*
|
||||||
|
"Cargo.toml"
|
||||||
|
(("version = \"1.4\"") "version = \"^1\"")))))
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-aes" ,rust-aes-0.7)
|
(("rust-aes" ,rust-aes-0.7)
|
||||||
("rust-anyhow" ,rust-anyhow-1)
|
("rust-anyhow" ,rust-anyhow-1)
|
||||||
|
@ -1352,9 +1358,9 @@ runs a command whenever it detects modifications.")
|
||||||
(home-page "https://git.tozt.net/rbw")
|
(home-page "https://git.tozt.net/rbw")
|
||||||
(synopsis "Unofficial Bitwarden CLI")
|
(synopsis "Unofficial Bitwarden CLI")
|
||||||
(description "This package is an unofficial command line client for
|
(description "This package is an unofficial command line client for
|
||||||
Bitwarden. Although it does come with its own command line client, this client
|
Bitwarden. Although Bitwarden ships with a command line client, but
|
||||||
is limited by being stateless, which makes it very difficult to use. This
|
it's limited by being stateless, which makes it very difficult to use. This
|
||||||
client avoids this problem by maintaining a background process which is able
|
client avoids that problem by maintaining a background process which is able
|
||||||
to hold the keys in memory, similar to the way that ssh-agent or gpg-agent
|
to hold the keys in memory, similar to the way that ssh-agent or gpg-agent
|
||||||
work. This allows the client to be used in a much simpler way, with the
|
work. This allows the client to be used in a much simpler way, with the
|
||||||
background agent taking care of maintaining the necessary state.")
|
background agent taking care of maintaining the necessary state.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue