diff options
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ff9e797cc..cccd2b9172 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8233,28 +8233,47 @@ programs.") ("rust-parking" ,rust-parking-1) ("rust-waker-fn" ,rust-waker-fn-1)))))) -(define-public rust-botan-0.8 +(define-public rust-botan-0.10 (package (name "rust-botan") - (version "0.8.1") + (version "0.10.3") (source (origin (method url-fetch) (uri (crate-uri "botan" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08bmiyn7c3b0dgx20w6hr28d9jcq7cj78cchr84pc686sb2s41ik")))) + (base32 + "1vzl5pdysh848zpphsgvj9c40zdi3ynl32zzixsd8vg4vaflhb49")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-botan-sys" ,rust-botan-sys-0.8) - ("rust-cstr-core" ,rust-cstr-core-0.2) - ("rust-cty" ,rust-cty-0.2)))) + (("rust-botan-sys" ,rust-botan-sys-0.10)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4) + ("rust-wycheproof" ,rust-wycheproof-0.5)))) (inputs (list botan)) (home-page "https://botan.randombit.net/") (synopsis "Rust wrapper for Botan cryptography library") (description "Rust wrapper for Botan cryptography library") (license license:expat))) +(define-public rust-botan-0.8 + (package + (inherit rust-botan-0.10) + (name "rust-botan") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "botan" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08bmiyn7c3b0dgx20w6hr28d9jcq7cj78cchr84pc686sb2s41ik")))) + (arguments + `(#:cargo-inputs + (("rust-botan-sys" ,rust-botan-sys-0.8) + ("rust-cstr-core" ,rust-cstr-core-0.2) + ("rust-cty" ,rust-cty-0.2)))))) + (define-public rust-botan-sys-0.8 (package (name "rust-botan-sys") |