diff mbox series

[bug#56061,gnu:,Add,dua-cli.,02/27] gnu: Add rust-adler-1.

Message ID 20220618195656.10108-3-antlers@luris.net
State New
Headers show
Series gnu: Add dua-cli. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

antlers June 18, 2022, 7:56 p.m. UTC
* gnu/packages/crates-io.scm (rust-adler-1): New variable.
---
:100644 100644 52ee00676c 354385efc1 M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52ee00676c..354385efc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1840,6 +1840,30 @@  (define-public rust-addr2line-0.9
         ("rust-memmap" ,rust-memmap-0.7)
         ("rust-rustc-test" ,rust-rustc-test-0.3))))))
 
+(define-public rust-adler-1
+  (package
+    (name "rust-adler")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "adler" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1zim79cvzd5yrkzl3nyfx0avijwgk9fqv3yrscdy1cc79ih02qpj"))))
+    (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 "Simple, clean-room implementation of the Adler-32 checksum")
+    (description
+     "This package provides a simple clean-room implementation of the Adler-32
+checksum")
+    (license (list license:bsd-0 license:expat license:asl2.0))))
+
 (define-public rust-adler-0.2
   (package
     (name "rust-adler")