guix-commits
[Top][All Lists]
Advanced

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

334/470: Revert "gnu: Remove rust-libz-ng-sys-1."


From: guix-commits
Subject: 334/470: Revert "gnu: Remove rust-libz-ng-sys-1."
Date: Thu, 16 Mar 2023 03:01:54 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 166fa903281824f6c317d1ade1efd6b013519087
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 10:27:02 2023 +0200

    Revert "gnu: Remove rust-libz-ng-sys-1."
    
    This reverts commit 32bbdb176549a6d315054ced04b5e45245e8dda7.
---
 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 fc713fdc20..35d5389984 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31759,6 +31759,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]