summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-12-16 18:50:13 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-01-08 10:33:08 +0100
commit91f05b1bc48506a7ba43271575d869d915bbea37 (patch)
tree93e1f6304a9373f89b9e3d71c3a761d69917764b /gnu
parentcecd572bd7027791cdb56c42b3657ea842cf5221 (diff)
gnu: Add rust-ctr-0.6.
* gnu/packages/crates-io.scm (rust-ctr-0.6): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 721ad88419..711b482b3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7983,6 +7983,31 @@ Transparency logs for use with sct crate.")
"This package provides an @code{__attribute__((constructor))} for Rust.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ctr-0.6
+ (package
+ (name "rust-ctr")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ctr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zvyf13675hrlc37myj97k5ng7m1mj3d9p4ic4yvyhvl9zak0jpv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cipher" ,rust-cipher-0.2))))
+ (home-page "https://docs.rs/ctr/")
+ (synopsis "CTR block mode of operation")
+ (description "This package provides a generic implementations of CTR mode
+for block ciphers.
+
+Mode functionality is accessed using traits from re-exported cipher crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ctrlc-3.1
(package
(name "rust-ctrlc")