guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/113: gnu: rust-universal-hash: Move to (gnu packages crates-crypto).


From: guix-commits
Subject: 26/113: gnu: rust-universal-hash: Move to (gnu packages crates-crypto).
Date: Mon, 22 Jan 2024 04:30:13 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 360d8cf625e224a62328c5858548164839ef3ea6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 21 15:47:05 2024 +0200

    gnu: rust-universal-hash: Move to (gnu packages crates-crypto).
    
    * gnu/packages/crates-io.scm (rust-universal-hash-0.5,
    rust-universal-hash-0.4, rust-universal-hash-0.3): Move from here ...
    * gnu/packages/crates-crypto.scm: ... to here.
    
    Change-Id: I4ccca652dc09ab4b99f2bf072de61b80227700c8
---
 gnu/packages/crates-crypto.scm | 61 ++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/crates-io.scm     | 61 ------------------------------------------
 2 files changed, 61 insertions(+), 61 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 36693d5212..e1dc086619 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3481,3 +3481,64 @@ cryptographic implementations.")
     (description
      "This package provides the Tiger cryptographic hash function.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-universal-hash-0.5
+  (package
+    (name "rust-universal-hash")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "universal-hash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sh79x677zkncasa95wz05b36134822w6qxmi1ck05fwi33f47gw"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+           (substitute* "Cargo.toml"
+             (("=2\\.4\\.1") "^2.4.1"))))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-crypto-common" ,rust-crypto-common-0.1)
+        ("rust-subtle" ,rust-subtle-2))))
+    (home-page "https://github.com/RustCrypto/traits";)
+    (synopsis "Trait for universal hash functions")
+    (description "This package provides traits for universal hash functions.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-universal-hash-0.4
+  (package
+    (inherit rust-universal-hash-0.5)
+    (name "rust-universal-hash")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "universal-hash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "00hljq64l0p68yrncvyww4cdgkzpzl49vrlnj57kwblkak3b49l3"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.14)
+        ("rust-subtle" ,rust-subtle-2))))))
+
+(define-public rust-universal-hash-0.3
+  (package
+    (inherit rust-universal-hash-0.4)
+    (name "rust-universal-hash")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "universal-hash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00aa241pab99z66f0s464vdrxnk3igs8z1qm6j01chcv5w7r036z"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.12)
+        ("rust-subtle" ,rust-subtle-2))))))
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f2e2eb774b..0fea49f2e1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78590,67 +78590,6 @@ whitespace from a string.")
 clear display in the output.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-universal-hash-0.5
-  (package
-    (name "rust-universal-hash")
-    (version "0.5.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "universal-hash" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1sh79x677zkncasa95wz05b36134822w6qxmi1ck05fwi33f47gw"))
-       (snippet
-        #~(begin (use-modules (guix build utils))
-           (substitute* "Cargo.toml"
-             (("=2\\.4\\.1") "^2.4.1"))))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-crypto-common" ,rust-crypto-common-0.1)
-        ("rust-subtle" ,rust-subtle-2))))
-    (home-page "https://github.com/RustCrypto/traits";)
-    (synopsis "Trait for universal hash functions")
-    (description "This package provides traits for universal hash functions.")
-    (license (list license:expat license:asl2.0))))
-
-(define-public rust-universal-hash-0.4
-  (package
-    (inherit rust-universal-hash-0.5)
-    (name "rust-universal-hash")
-    (version "0.4.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "universal-hash" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "00hljq64l0p68yrncvyww4cdgkzpzl49vrlnj57kwblkak3b49l3"))))
-    (arguments
-     `(#:cargo-inputs
-       (("rust-generic-array" ,rust-generic-array-0.14)
-        ("rust-subtle" ,rust-subtle-2))))))
-
-(define-public rust-universal-hash-0.3
-  (package
-    (inherit rust-universal-hash-0.4)
-    (name "rust-universal-hash")
-    (version "0.3.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "universal-hash" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "00aa241pab99z66f0s464vdrxnk3igs8z1qm6j01chcv5w7r036z"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-generic-array" ,rust-generic-array-0.12)
-        ("rust-subtle" ,rust-subtle-2))))))
-
 (define-public rust-unix-socket-0.5
   (package
     (name "rust-unix-socket")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]