summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-09-21 12:09:29 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-09-23 00:21:38 +0200
commit8b5e1ed0df756946ed96eab8ed73d7c3b927470c (patch)
tree6c3852019b521ec4bad1f079d3734f6db522d0b1 /gnu
parente5d060d75ca94ec2f9f3356bbd7f3820e73a5a40 (diff)
downloadguix-8b5e1ed0df756946ed96eab8ed73d7c3b927470c.tar.gz
gnu: Add rust-libdeflate-sys-0.5.
* gnu/packages/crates-io.scm (rust-libdeflate-sys-0.5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
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")