guix-patches
[Top][All Lists]
Advanced

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

[bug#72021] [PATCH 14/38] gnu: Add rust-zlib-rs-0.1.


From: Wilko Meyer
Subject: [bug#72021] [PATCH 14/38] gnu: Add rust-zlib-rs-0.1.
Date: Wed, 10 Jul 2024 01:36:54 +0200

* gnu/packages/crates-io.scm (rust-zlib-rs-0.1): New variable.

Change-Id: Ie0246811a1ededb68a70b319fdc569656bc52351
---
 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 771ff45e67..3f7aa4b1db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38971,6 +38971,30 @@ (define-public rust-libxml-0.2
        (sha256
         (base32 "1xx1bsay6c0jy9vi7qcvliidya33lvbkxwpdfz9qmzl23f11xxxh"))))))
 
+(define-public rust-zlib-rs-0.1
+  (package
+    (name "rust-zlib-rs")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zlib-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18a49npwcrpbvsxs3dzk51kizd81qffnaxjqfn4fqq37vki0a8f5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+                       ("rust-libz-sys" ,rust-libz-sys-1)
+                       ("rust-quickcheck" ,rust-quickcheck-1))))
+   (native-inputs (list pkg-config))
+    (inputs (list (list zstd "lib")))
+    (home-page "https://github.com/memorysafety/zlib-rs";)
+    (synopsis "Memory-safe zlib implementation")
+    (description
+     "This package provides a memory-safe zlib implementation written in 
rust.")
+    (license license:zlib)))
+
 (define-public rust-libz-sys-1
   (package
     (name "rust-libz-sys")
-- 
2.41.0






reply via email to

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