summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 16:33:08 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:51 +0300
commit7989177fa92323aa544d4d023222d48b1a3d8872 (patch)
treed094ff12077aea60d60ffa5cf89dccb9afaff392
parente23392b700fb20aa08c4abfed7d9b73b488e443b (diff)
gnu: Add rust-botan-0.10.
* gnu/packages/crates-io.scm (rust-botan-0.10): New variable. (rust-botan-0.8): Inherit from rust-botan-0.10.
-rw-r--r--gnu/packages/crates-io.scm31
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")