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.
parent
e23392b700
commit
7989177fa9
|
@ -8233,8 +8233,33 @@ programs.")
|
|||
("rust-parking" ,rust-parking-1)
|
||||
("rust-waker-fn" ,rust-waker-fn-1))))))
|
||||
|
||||
(define-public rust-botan-0.10
|
||||
(package
|
||||
(name "rust-botan")
|
||||
(version "0.10.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "botan" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1vzl5pdysh848zpphsgvj9c40zdi3ynl32zzixsd8vg4vaflhb49"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("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
|
||||
|
@ -8243,17 +8268,11 @@ programs.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "08bmiyn7c3b0dgx20w6hr28d9jcq7cj78cchr84pc686sb2s41ik"))))
|
||||
(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))))
|
||||
(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)))
|
||||
("rust-cty" ,rust-cty-0.2))))))
|
||||
|
||||
(define-public rust-botan-sys-0.8
|
||||
(package
|
||||
|
|
Reference in New Issue