aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-23 16:54:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:16 +0300
commitbbce29d35676ac84b4ffcbf79b75849ff7835ec5 (patch)
tree32cccc5505b3117b5935bb9e6e41113cd5945a88 /gnu/packages
parent8a404f81f0338dddc67fd004e61e00f8f38357ba (diff)
downloadguix-bbce29d35676ac84b4ffcbf79b75849ff7835ec5.tar
guix-bbce29d35676ac84b4ffcbf79b75849ff7835ec5.tar.gz
gnu: Add rust-libdeflater-0.11.
* gnu/packages/crates-io.scm (rust-libdeflater-0.11): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 39e4ebe0b4..74031b44a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31190,6 +31190,30 @@ exposed as non-streaming buffer operations. It contains bindings for raw
deflate, zlib, and gzip data.")
(license license:asl2.0)))
+(define-public rust-libdeflater-0.11
+ (package
+ (name "rust-libdeflater")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libdeflater" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0385hpai7fsnpfvxd3hki43v1cj8w6z1cb2rn8wd6vq4dam8bqnq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.11))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-flate2" ,rust-flate2-1))))
+ (home-page "https://github.com/adamkewley/libdeflater")
+ (synopsis "Bindings to libdeflate for DEFLATE")
+ (description "This package provides bindings to libdeflate for DEFLATE
+(de)compression exposed as non-streaming buffer operations. Contains bindings
+for raw deflate, zlib, and gzip data.")
+ (license license:asl2.0)))
+
(define-public rust-libflate-1
(package
(name "rust-libflate")