summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 18:22:51 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:42 +0100
commite4deb9219ca0f78261dfccae9271c9531dc5641a (patch)
treefdd23eeb9a80bd1920c66c3664205ee8a9e95f79 /gnu/packages
parentc7f6affa47d3ddf55343feb436775e8f8a1b1bfd (diff)
downloadguix-e4deb9219ca0f78261dfccae9271c9531dc5641a.tar.gz
gnu: Add rust-adler-0.2.
* gnu/packages/crates-io.scm (rust-adler-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 99ca0685b7..c057df57f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1037,6 +1037,33 @@ Rust, using gimli.")
         ("rust-memmap" ,rust-memmap-0.7)
         ("rust-rustc-test" ,rust-rustc-test-0.3))))))
 
+(define-public rust-adler-0.2
+  (package
+    (name "rust-adler")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "adler" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+    (home-page "https://github.com/jonas-schievink/adler")
+    (synopsis "Implementation of the Adler-32 checksum")
+    (description
+     "This crate provides a simple implementation of the Adler-32
+checksum, used in the zlib compression format.")
+    (license
+     (list license:expat
+           license:asl2.0
+           (license:non-copyleft "https://spdx.org/licenses/0BSD.html")))))
+
 (define-public rust-adler32-1
   (package
     (name "rust-adler32")