guix-commits
[Top][All Lists]
Advanced

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

04/41: gnu: Add rust-adler32.


From: guix-commits
Subject: 04/41: gnu: Add rust-adler32.
Date: Fri, 6 Sep 2019 08:47:25 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 90c48ddd76a8c2926d271d68199bb96537a483de
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 5 16:39:10 2019 +0300

    gnu: Add rust-adler32.
    
    * gnu/packages/crates-io.scm (rust-adler32): 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 262c1e4..753b144 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30,6 +30,30 @@
 ;;; Please: Try to add new module packages in alphabetic order.
 ;;;
 
+(define-public rust-adler32
+  (package
+    (name "rust-adler32")
+    (version "1.0.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "adler32" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0p7fxlnks9l7p7rwfqi7aqgnk2bps5zc0rjiw00mdw19nnbjjlky"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs (("rust-rand" ,rust-rand))))
+    (home-page "https://github.com/remram44/adler32-rs";)
+    (synopsis "Implementation of the Adler32 rolling hash algorithm")
+    (description
+     "This library is an implementation of the Adler32 rolling hash algorithm 
in
+the Rust programming language.")
+    (license (list license:bsd-3
+                   license:zlib))))
+
 (define-public rust-antidote
   (package
     (name "rust-antidote")



reply via email to

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