guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

46/188: gnu: Add rust-crc-1.


From: guix-commits
Subject: 46/188: gnu: Add rust-crc-1.
Date: Mon, 12 Oct 2020 02:24:46 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 9b4a3be4f131f712b3e1fa43e1fef93e1f2689ae
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 19:47:27 2020 +0530

    gnu: Add rust-crc-1.
    
    * gnu/packages/crates-io.scm (rust-crc-1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6cd485d..d1420e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4118,6 +4118,30 @@ to @code{is_x86_feature_detected}.")
      "Library for retrieving and interacting with the crates.io index.")
     (license license:asl2.0)))
 
+(define-public rust-crc-1
+  (package
+    (name "rust-crc")
+    (version "1.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1nwgidcckh1gkndhi0c0zry3qv6ly2z6fp8fgy8q5cfca9jcma50"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-build-const" ,rust-build-const-0.2))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-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))))
+
 (define-public rust-crc32fast-1
   (package
     (name "rust-crc32fast")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]