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>
This commit is contained in:
Jaeme Sifat 2023-12-29 19:40:25 -05:00 committed by Efraim Flashner
parent 384a76e917
commit 6299ebf211
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -15565,8 +15565,27 @@ (define-public rust-crc32fast-1
"Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.")
(license (list license:expat license:asl2.0))))
(define-public rust-crc64-2
(package
(name "rust-crc64")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "crc64" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1wwqdss36dmhz4fd0wynlaig463l4dwvr21db1fvf6aypapy61r7"))))
(build-system cargo-build-system)
(home-page "https://github.com/badboy/crc64-rs")
(synopsis "Rust CRC64 checksum implementation")
(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
@ -15576,13 +15595,7 @@ (define-public rust-crc64-1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0469vp0q9431pqx1236g60if5q3xyxpv4h14smkd45dfzsa6aqjm"))))
(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.")
(license license:bsd-3)))
(arguments `(#:skip-build? #t))))
(define-public rust-crc-catalog-2
(package