[gnu: Add dua-cli. 02/27] gnu: Add rust-adler-1.

OpenSubmitted by antlers.
Details
2 participants
  • antlers
  • Maxime Devos
Owner
unassigned
Severity
normal
Merged with
A
A
antlers wrote on 18 Jun 21:56 +0200
20220618195656.10108-3-antlers@luris.net
* 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(+)

Toggle diff (37 lines)
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")
-- 
2.36.0
M
M
Maxime Devos wrote on 19 Jun 11:04 +0200
Re: [bug#56057] [PATCH 00/27] gnu: Add dua-cli.
(address . control@debbugs.gnu.org)
79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be
merge 56057 56056 56061 56059 56062 56058 56060 56063 56064 56065 56066 56069 56067 56074 56068 56073 56072 56070 56071 56057
thanks
?