guix-patches
[Top][All Lists]
Advanced

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

[bug#72021] [PATCH 15/38] gnu: Add rust-libz-rs-sys-0.1.


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

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

Change-Id: I9c4a901d5ed8d375b048b12e9112972fade0614e
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f7aa4b1db..03a3291fff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38995,6 +38995,29 @@ (define-public rust-zlib-rs-0.1
      "This package provides a memory-safe zlib implementation written in 
rust.")
     (license license:zlib)))
 
+(define-public rust-libz-rs-sys-0.1
+  (package
+    (name "rust-libz-rs-sys")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libz-rs-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0a1vx9gpyc6aizq7d1v76lribxchqkfxc3295a4z7q0b4lil8g6d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-zlib-rs" ,rust-zlib-rs-0.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]