guix-commits
[Top][All Lists]
Advanced

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

07/18: gnu: Add rust-libdeflate-sys-0.5.


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

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

commit 03e340d9535dbcd1ba882f3f482578c40621add2
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Sep 21 12:09:29 2022 +0200

    gnu: Add rust-libdeflate-sys-0.5.
    
    * gnu/packages/crates-io.scm (rust-libdeflate-sys-0.5): New variable.
---
 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 7f888faa11..91ba805695 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31844,6 +31844,29 @@ macros on libc without stdlib.")
     (description "This package provides FFI bindings to libdbus.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-libdeflate-sys-0.5
+  (package
+    (name "rust-libdeflate-sys")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libdeflate-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "07ychzvz9xrqs92frs3zpny0l8jp3sndzqpl7zhv6kdqhzx9xqr1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc" ,rust-cc-1))))
+    (home-page "https://github.com/adamkewley/libdeflater";)
+    (synopsis "Bindings to libdeflate")
+    (description
+     "This package provides bindings to libdeflate for DEFLATE (de)compression
+exposed as non-streaming buffer operations.  It contains bindings for raw
+deflate, zlib, and gzip data.")
+    (license license:asl2.0)))
+
 (define-public rust-libflate-1
   (package
     (name "rust-libflate")



reply via email to

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