summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-20 21:27:54 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-22 11:22:59 +0300
commit96f279c7f200c352c8e08e89740d52f347ce5dc4 (patch)
tree9e17d6bd9a06562a4e904e367e1848be262b81d9 /gnu
parent462af6da201152206dc42f025460cb283a87ded6 (diff)
downloadguix-96f279c7f200c352c8e08e89740d52f347ce5dc4.tar.gz
gnu: Add rust-shannon-0.2.
* gnu/packages/crates-io.scm (rust-shannon-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 865e8d47df..6335a07517 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63846,6 +63846,27 @@ and environment at run time.  You can use this tool to check in production
 exactly where a binary came from and how it was built.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-shannon-0.2
+  (package
+    (name "rust-shannon")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "shannon" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0qa52zs4y1i87ysr11g9p6shpdagl14bb340gfm6rd97jhfb99by"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1))))
+    (home-page "https://docs.rs/shannon/0.2.0/shannon/")
+    (synopsis "Shannon cipher implementation")
+    (description
+     "A Shannon cipher implementation, that encrypts a message using a
+shared secret key.")
+    (license license:expat)))
+
 (define-public rust-sharded-slab-0.1
   (package
     (name "rust-sharded-slab")