summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-21 17:23:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:01 +0200
commit07533d10b2b434982cd7fe0eb15bc03bff49eab8 (patch)
tree0030b126f032db02d9e5efd4cee3589033842d60
parentf63aeac8bee190dec9f8249547b01548d6ae6453 (diff)
downloadguix-07533d10b2b434982cd7fe0eb15bc03bff49eab8.tar.gz
gnu: rust-streebog: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-streebog-0.10, rust-streebog-0.9):
Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: I295c5527ac994567643412a5ca47ecaa41b6645c
-rw-r--r--gnu/packages/crates-crypto.scm47
-rw-r--r--gnu/packages/crates-io.scm47
2 files changed, 47 insertions, 47 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 0d87683cab..94b63d113f 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -4526,6 +4526,53 @@ OIDs)")
        (("rust-blobby" ,rust-blobby-0.1)
         ("rust-generic-array" ,rust-generic-array-0.13))))))
 
+(define-public rust-streebog-0.10
+  (package
+    (name "rust-streebog")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "streebog" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w7sxj3risp0zqm6r4mc73bd3fn3bnlxi4l10gp7661i5asr6ajz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-digest" ,rust-digest-0.10))
+       #:cargo-development-inputs
+       (("rust-digest" ,rust-digest-0.10)
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page "https://github.com/RustCrypto/hashes")
+    (synopsis "Streebog (GOST R 34.11-2012) hash function")
+    (description
+     "This package provides a streebog (GOST R 34.11-2012) hash function.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-streebog-0.9
+  (package
+    (inherit rust-streebog-0.10)
+    (name "rust-streebog")
+    (version "0.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "streebog" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-buffer" ,rust-block-buffer-0.9)
+        ("rust-digest" ,rust-digest-0.9)
+        ("rust-opaque-debug" ,rust-opaque-debug-0.3))
+       #:cargo-development-inputs
+       (("rust-digest" ,rust-digest-0.9)
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))))
+
 (define-public rust-subtle-2
   (package
     (name "rust-subtle")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d7a29819e..126782a803 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66411,53 +66411,6 @@ iterated over only by reference rather than by value.")
     (license (list license:unlicense
                    license:expat))))
 
-(define-public rust-streebog-0.10
-  (package
-    (name "rust-streebog")
-    (version "0.10.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "streebog" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1w7sxj3risp0zqm6r4mc73bd3fn3bnlxi4l10gp7661i5asr6ajz"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-digest" ,rust-digest-0.10))
-       #:cargo-development-inputs
-       (("rust-digest" ,rust-digest-0.10)
-        ("rust-hex-literal" ,rust-hex-literal-0.2))))
-    (home-page "https://github.com/RustCrypto/hashes")
-    (synopsis "Streebog (GOST R 34.11-2012) hash function")
-    (description
-     "This package provides a streebog (GOST R 34.11-2012) hash function.")
-    (license (list license:expat license:asl2.0))))
-
-(define-public rust-streebog-0.9
-  (package
-    (inherit rust-streebog-0.10)
-    (name "rust-streebog")
-    (version "0.9.2")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "streebog" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
-    (arguments
-     `(#:cargo-inputs
-       (("rust-block-buffer" ,rust-block-buffer-0.9)
-        ("rust-digest" ,rust-digest-0.9)
-        ("rust-opaque-debug" ,rust-opaque-debug-0.3))
-       #:cargo-development-inputs
-       (("rust-digest" ,rust-digest-0.9)
-        ("rust-hex-literal" ,rust-hex-literal-0.2))))))
-
 (define-public rust-strength-reduce-0.2
   (package
     (name "rust-strength-reduce")