summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-17 13:49:58 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:50 +0530
commitf736ef388d5faee385d111b3c57780fc0a700c93 (patch)
treeb6f2b18c437d2c94f7469d46fb82ab86cf4b3790 /gnu/packages
parent8a8b3c3398a86dce0b883f422c1e233b957e00b5 (diff)
gnu: Add rust-stream-cipher-0.4.
* gnu/packages/crates-io.scm (rust-stream-cipher-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-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 363560e164..523dacd508 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24062,8 +24062,32 @@ longform text (e.g., ESC becomes @code{r\x1B}) and tries to encode ill-formed
UTF-8.")
(license (list license:expat license:asl2.0))))
+(define-public rust-stream-cipher-0.4
+ (package
+ (name "rust-stream-cipher")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "stream-cipher" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "120y04k3d2jyfnvyrlf38x6bf0yckyk30c7zf8v8qaq4fjcyvy09"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.1)
+ ("rust-block-cipher" ,rust-block-cipher-0.7)
+ ("rust-generic-array" ,rust-generic-array-0.14))))
+ (home-page "https://github.com/RustCrypto/traits")
+ (synopsis "Stream cipher traits")
+ (description "This package provides stream cipher traits.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-stream-cipher-0.3
(package
+ (inherit rust-stream-cipher-0.4)
(name "rust-stream-cipher")
(version "0.3.0")
(source
@@ -24075,16 +24099,11 @@ UTF-8.")
(sha256
(base32
"1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-blobby" ,rust-blobby-0.1)
- ("rust-generic-array" ,rust-generic-array-0.13))))
- (home-page "https://github.com/RustCrypto/traits")
- (synopsis "Stream cipher traits")
- (description "Stream cipher traits.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-generic-array" ,rust-generic-array-0.13))))))
(define-public rust-streaming-stats-0.2
(package