aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-21 09:40:08 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:34 +0200
commit6ffccb45d17a99b66d5154c40d78c6abb7ada417 (patch)
treeb2816922963313d88dedf7c279935a3212222553 /gnu
parentccb4d3b6b35dfb331b5b328a9a65200fc1154394 (diff)
downloadguix-6ffccb45d17a99b66d5154c40d78c6abb7ada417.tar
guix-6ffccb45d17a99b66d5154c40d78c6abb7ada417.tar.gz
gnu: Add rust-crc-3.
* gnu/packages/crates-io.scm (rust-crc-3): New variable. (rust-crc-2): Inherit from rust-crc-3. Change-Id: I8095055302e84d1edf46e4454806525c788555cc
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 22 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 998b06d1e2..bc404ef784 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17268,8 +17268,29 @@ mile, ...).")
@url{crates.io}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crc-3
+ (package
+ (name "rust-crc")
+ (version "3.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zkx87a5x06xfd6xm5956w4vmdfs0wcxpsn7iwj5jbp2rcapmv46"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-crc-catalog" ,rust-crc-catalog-2))))
+ (home-page "https://github.com/mrhooray/crc-rs.git")
+ (synopsis "Rust implementation of CRC(16, 32, 64)")
+ (description "This package provides a Rust implementation of CRC(16, 32,
+64) with support for various standards.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-crc-2
(package
+ (inherit rust-crc-3)
(name "rust-crc")
(version "2.1.0")
(source (origin
@@ -17278,14 +17299,8 @@ mile, ...).")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08qfahmly0n5j27g1vkqx9s6mxhm8k4dsp61ykskazyabdlrmz29"))))
- (build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-crc-catalog" ,rust-crc-catalog-1))))
- (home-page "https://github.com/mrhooray/crc-rs.git")
- (synopsis "Rust implementation of CRC(16, 32, 64)")
- (description "This package provides a Rust implementation of CRC(16, 32,
-64) with support for various standards.")
- (license (list license:expat license:asl2.0))))
+ `(#:cargo-inputs (("rust-crc-catalog" ,rust-crc-catalog-1))))))
(define-public rust-crc-1
(package