[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
165/281: gnu: Add rust-crc-2.
From: |
guix-commits |
Subject: |
165/281: gnu: Add rust-crc-2. |
Date: |
Wed, 22 Feb 2023 05:41:08 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit ffc4c71d9d599ed9be1f4ccac9a52a59c53b1ac5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 10:40:35 2023 +0200
gnu: Add rust-crc-2.
* gnu/packages/crates-io.scm (rust-crc-2): New variable.
(rust-crc-1): Inherit from rust-crc-2.
---
gnu/packages/crates-io.scm | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 63808761e7..e46ef140de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13641,8 +13641,28 @@ to the @code{is_x86_feature_detected!} macro.")
@url{crates.io}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crc-2
+ (package
+ (name "rust-crc")
+ (version "2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "crc" version))
+ (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))))
+
(define-public rust-crc-1
(package
+ (inherit rust-crc-2)
(name "rust-crc")
(version "1.8.1")
(source
@@ -13653,15 +13673,9 @@ to the @code{is_x86_feature_detected!} macro.")
(sha256
(base32
"1sqal6gm6lbj7f45iv3rw2s9w3pvvha8v970y51s7k7mwy6m8qyn"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-build-const" ,rust-build-const-0.2))))
- (home-page "https://crates.io/crates/crc")
- (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))))
+ (("rust-build-const" ,rust-build-const-0.2))))))
(define-public rust-crc-any-2
(package
- 136/281: gnu: rust.scm: Sort packages alphabetically., (continued)
- 136/281: gnu: rust.scm: Sort packages alphabetically., guix-commits, 2023/02/22
- 169/281: gnu: rust-document-features-0.2: Update to 0.2.7., guix-commits, 2023/02/22
- 170/281: gnu: Add rust-enum-as-inner-0.5., guix-commits, 2023/02/22
- 172/281: gnu: rust-futures-macro-0.3: Update to 0.3.26., guix-commits, 2023/02/22
- 173/281: gnu: rust-futures-task-0.3: Update to 0.3.26., guix-commits, 2023/02/22
- 174/281: gnu: rust-futures-test-0.3: Update to 0.3.26., guix-commits, 2023/02/22
- 177/281: gnu: Add rust-git2-0.16., guix-commits, 2023/02/22
- 180/281: gnu: Add rust-hkdf-0.12., guix-commits, 2023/02/22
- 192/281: gnu: rust-pin-project-1: Update to 1.0.12., guix-commits, 2023/02/22
- 195/281: gnu: Add rust-quinn-proto-0.8., guix-commits, 2023/02/22
- 165/281: gnu: Add rust-crc-2.,
guix-commits <=
- 100/281: gnu: rust-tendril-0.4: Update to 0.4.3., guix-commits, 2023/02/22
- 98/281: gnu: rust-string-cache-0.8: Update to 0.8.4., guix-commits, 2023/02/22
- 106/281: gnu: rust-num-rational-0.2: Update to 0.2.4., guix-commits, 2023/02/22
- 114/281: gnu: rust-crates-io-0.33: Update to 0.33.1., guix-commits, 2023/02/22
- 124/281: gnu: rust-cargo: Update to 0.60.0., guix-commits, 2023/02/22
- 122/281: gnu: rust-os-info-3: Update to 3.0.7., guix-commits, 2023/02/22
- 141/281: gnu: librsvg: Update to 2.54.5., guix-commits, 2023/02/22
- 129/281: gnu: rust-windows-aarch64-gnullvm-0.42: Remove bundled library., guix-commits, 2023/02/22
- 147/281: gnu: rust-bootstrap: Explicitly use llvm-13., guix-commits, 2023/02/22
- 143/281: gnu: librsvg-bootstrap: Remove more precompiled libraries., guix-commits, 2023/02/22