guix-patches
[Top][All Lists]
Advanced

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

[bug#68665] [PATCH 07/12] gnu: Add rust-libdeflate-sys-1.


From: Troy Figiel
Subject: [bug#68665] [PATCH 07/12] gnu: Add rust-libdeflate-sys-1.
Date: Mon, 22 Jan 2024 23:08:02 +0100

* gnu/packages/crates-io.scm (rust-libdeflate-sys-1): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67b2352089..01bef32389 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32361,6 +32361,27 @@ (define-public rust-libdbus-sys-0.2
     (license (list license:asl2.0 license:expat))))
 
 ;; TODO: Unbundle libdeflate
+(define-public rust-libdeflate-sys-1
+  (package
+    (name "rust-libdeflate-sys")
+    (version "1.19.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libdeflate-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1hhwgzlpbw2nafylnjrhbyh7s6q9fb2cglf3xxcia30hhmzim4k7"))))
+    (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-libdeflate-sys-0.11
   (package
     (name "rust-libdeflate-sys")
-- 
2.42.0






reply via email to

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