diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-21 09:29:53 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:31 +0200 |
commit | 78ab28b73d37547a5ccc47e010a884a7cdb5f334 (patch) | |
tree | e5770bf380fbe34294deec4678ce792b200dacf0 | |
parent | 501d86afb223aec3e19dc9833684683f52760e24 (diff) |
gnu: Add rust-rsa-0.6.
* gnu/packages/crates-io.scm (rust-rsa-0.6): New variable.
Change-Id: I65d6971211e5b80fc867e47f9b82d54e78f57698
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4ddb7c4b45..5b4fd8e765 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64058,6 +64058,43 @@ can handle huge texts and memory-incoherent edits with ease.") (description "This package provides a pure Rust RSA implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-rsa-0.6 + (package + (inherit rust-rsa-0.9) + (name "rust-rsa") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02viiiylxpk2hx5h5qrpm4lcd8ildvafbw0rn6rx44wnqia2gwjc")))) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-digest" ,rust-digest-0.10) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-iter" ,rust-num-iter-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkcs1" ,rust-pkcs1-0.3) + ("rust-pkcs8" ,rust-pkcs8-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-base64ct" ,rust-base64ct-1) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10)))))) + (define-public rust-rsa-0.5 (package (inherit rust-rsa-0.9) |