Subject: [bug#68115] [PATCH 14/18] gnu: Add rust-crc64-2.

From: Jaeme Sifat <[email-masked]>
Date: Fri, 29 Dec 2023 19:40:25 -0500

* gnu/packages/crates-io.scm (rust-crc64-2): New variable.

Change-Id: Ie4c7bcaada1c46e7546cad9bcb6c2f9503c9d44e
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 612bfc614f..2a505f3cba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15470,25 +15470,38 @@ (define-public rust-crc32fast-1
      "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")
-- 
2.41.0