guix-patches
[Top][All Lists]
Advanced

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

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


From: antlers
Subject: [bug#56061] [gnu: Add dua-cli. 02/27] gnu: Add rust-adler-1.
Date: Sat, 18 Jun 2022 12:56:31 -0700

* 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 --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






reply via email to

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