[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
165/470: gnu: Add rust-crc-2.
From: |
guix-commits |
Subject: |
165/470: gnu: Add rust-crc-2. |
Date: |
Thu, 16 Mar 2023 03:00:54 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit a24e5a9dde146a102309b1a347d50c4c354b33f8
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 7cc447bee5..51f1ce3d10 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
- 367/470: gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.34., (continued)
- 367/470: gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.34., guix-commits, 2023/03/16
- 377/470: gnu: Add rust-serde-big-array-0.4., guix-commits, 2023/03/16
- 380/470: gnu: Add rust-lebe-0.5., guix-commits, 2023/03/16
- 370/470: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.84., guix-commits, 2023/03/16
- 389/470: gnu: Remove rust-pangocairo-sys-0.10., guix-commits, 2023/03/16
- 374/470: gnu: rust-weezl-0.1: Update to 0.1.7., guix-commits, 2023/03/16
- 386/470: gnu: Add rust-bindgen-0.61., guix-commits, 2023/03/16
- 384/470: gnu: Remove rust-cargon-0.0., guix-commits, 2023/03/16
- 148/470: gnu: rust-1.55: Explicitly use llvm-13., guix-commits, 2023/03/16
- 155/470: gnu: Add rust-botan-sys-0.8., guix-commits, 2023/03/16
- 165/470: gnu: Add rust-crc-2.,
guix-commits <=
- 170/470: gnu: Add rust-enum-as-inner-0.5., guix-commits, 2023/03/16
- 35/470: gnu: Add rust-ciborium., guix-commits, 2023/03/16
- 47/470: gnu: rust-once-cell-1: Update to 1.17.0., guix-commits, 2023/03/16
- 54/470: gnu: rust-memchr-2: Update to 2.5.0., guix-commits, 2023/03/16
- 56/470: gnu: rust-nom-6: Update to 6.2.1., guix-commits, 2023/03/16
- 75/470: gnu: rust-crossbeam-deque-0.7: Update to 0.7.4., guix-commits, 2023/03/16
- 79/470: gnu: rust-rayon-core-1: Update to 1.10.1., guix-commits, 2023/03/16
- 84/470: gnu: rust-either-1: Update to 1.8.0., guix-commits, 2023/03/16
- 116/470: gnu: rust-curl-sys-0.4: Update to 0.4.53+curl-7.82.0., guix-commits, 2023/03/16
- 117/470: gnu: rust-jobserver-0.1: Update to 0.1.24., guix-commits, 2023/03/16