[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
130/137: gnu: Add rust-crc-3.
From: |
guix-commits |
Subject: |
130/137: gnu: Add rust-crc-3. |
Date: |
Thu, 21 Dec 2023 04:26:47 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 77bdcde2abfb07758ff8c6b4440107b78a30f29f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Dec 21 09:40:08 2023 +0200
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
---
gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7fbe590dfd..9e2e975dd0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17210,8 +17210,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
@@ -17220,14 +17241,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
- 78/137: gnu: rust-pbkdf2-0.12: Update to 0.12.2., (continued)
- 78/137: gnu: rust-pbkdf2-0.12: Update to 0.12.2., guix-commits, 2023/12/21
- 82/137: gnu: Add rust-tungstenite-0.19., guix-commits, 2023/12/21
- 86/137: gnu: Add rust-pcap-0.7., guix-commits, 2023/12/21
- 93/137: gnu: rust-uuid-macro-internal-1: Update to 1.6.1., guix-commits, 2023/12/21
- 97/137: gnu: Add rust-x509-parser-0.14., guix-commits, 2023/12/21
- 103/137: gnu: rust-tracing-attributes-0.1: Update to 0.1.27., guix-commits, 2023/12/21
- 105/137: gnu: rust-tokio-util-0.7: Update to 0.7.10., guix-commits, 2023/12/21
- 114/137: gnu: Add rust-quinn-proto-0.10., guix-commits, 2023/12/21
- 108/137: gnu: Add rust-spki-0.5., guix-commits, 2023/12/21
- 115/137: gnu: Add rust-quinn-0.10., guix-commits, 2023/12/21
- 130/137: gnu: Add rust-crc-3.,
guix-commits <=
- 134/137: gnu: rbw: Update to 1.8.3., guix-commits, 2023/12/21