summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-12-29 19:40:25 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:02 +0200
commit6299ebf211639f58a4c806480bd8afcb421c9c2f (patch)
tree81f84462f55290307873747312a4c32faf31a834 /gnu/packages
parent384a76e917aa86a8d9469a5426a138879819343b (diff)
downloadguix-6299ebf211639f58a4c806480bd8afcb421c9c2f.tar.gz
gnu: Add rust-crc64-2.
* gnu/packages/crates-io.scm (rust-crc64-2): New variable.
(rust-crc64-1): Inherit from rust-crc64-2.

Change-Id: Ie4c7bcaada1c46e7546cad9bcb6c2f9503c9d44e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 19 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9ce04f030d..4ca94e5f04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15565,25 +15565,38 @@ final xor value.  It has many built-in CRC functions.")
      "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-crc64-1
+(define-public rust-crc64-2
   (package
     (name "rust-crc64")
-    (version "1.0.0")
+    (version "2.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "crc64" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0469vp0q9431pqx1236g60if5q3xyxpv4h14smkd45dfzsa6aqjm"))))
+        (base32 "1wwqdss36dmhz4fd0wynlaig463l4dwvr21db1fvf6aypapy61r7"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
     (home-page "https://github.com/badboy/crc64-rs")
     (synopsis "Rust CRC64 checksum implementation")
-    (description "This package provides a CRC64 checksum implementation in
-Rust.")
+    (description
+     "This package provides a CRC64 checksum implementation in Rust.")
     (license license:bsd-3)))
 
+(define-public rust-crc64-1
+  (package
+    (inherit rust-crc64-2)
+    (name "rust-crc64")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crc64" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0469vp0q9431pqx1236g60if5q3xyxpv4h14smkd45dfzsa6aqjm"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-crc-catalog-2
   (package
     (name "rust-crc-catalog")