summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-22 12:17:26 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:06 +0300
commitb524dec349444120014eda417e5b52b28eb4692b (patch)
tree23e28fde9fb770d27f8d9b2dda9b233c42565122 /gnu
parent943fd642f10b94cdce1ab8c475331934c0766f94 (diff)
downloadguix-b524dec349444120014eda417e5b52b28eb4692b.tar.gz
gnu: Add rust-magma-0.8.
* gnu/packages/crates-io.scm (rust-magma-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2ef8f438dc..6b446889e4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33005,6 +33005,28 @@ library")
      "This package provides test harness for macro expansion in Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-magma-0.8
+  (package
+    (name "rust-magma")
+    (version "0.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "magma" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "1w321p30599kc85bb35ps32ykqc9gzpi5b99dsw793nxrypnj9xb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.4))
+       #:cargo-development-inputs
+       (("rust-cipher" ,rust-cipher-0.4)
+        ("rust-hex-literal" ,rust-hex-literal-0.3))))
+    (home-page "https://github.com/RustCrypto/block-ciphers")
+    (synopsis "Magma (GOST R 34.12-2015) block cipher")
+    (description "Magma (GOST R 34.12-2015) block cipher")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-magic-crypt-3
   (package
     (name "rust-magic-crypt")