guix-commits
[Top][All Lists]
Advanced

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

06/18: gnu: Add rust-libz-ng-sys-1.


From: guix-commits
Subject: 06/18: gnu: Add rust-libz-ng-sys-1.
Date: Thu, 22 Sep 2022 06:28:07 -0400 (EDT)

rekado pushed a commit to branch rekados-rust-queue
in repository guix.

commit a0552768d4112e3da006ac4659c58c05be5f44fb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Sep 21 11:59:14 2022 +0200

    gnu: Add rust-libz-ng-sys-1.
    
    * gnu/packages/crates-io.scm (rust-libz-ng-sys-1): New variable.
---
 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 6ca47574b3..7f888faa11 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32590,6 +32590,30 @@ known as zlib).")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-libz-ng-sys-1
+  (package
+    (name "rust-libz-ng-sys")
+    (version "1.1.8")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libz-ng-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1wp0aya5hh76h1acspvrrsvq2fl0kyb8dpi6wy0zaswnm6bax6a3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cmake" ,rust-cmake-0.1)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/rust-lang/libz-sys";)
+    (synopsis "Low-level bindings to zlib-ng (libz-ng)")
+    (description
+     "This package provides low-level bindings to zlib-ng (libz-ng), a
+high-performance zlib library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lifeguard-0.6
   (package
     (name "rust-lifeguard")



reply via email to

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