summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-21 00:13:34 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:42:04 +0530
commit518a6320b15aa5ee44a9a415b0b4f98bc168f586 (patch)
treeb793f2aa3d8972ab757bb7b95feb1b136dcfe173 /gnu/packages/crates-io.scm
parent640e6c8dca46cc42103316f9f2596168d8355f85 (diff)
downloadguix-518a6320b15aa5ee44a9a415b0b4f98bc168f586.tar.gz
gnu: Add rust-libflate-0.1.
* gnu/packages/crates-io.scm (rust-libflate-0.1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f123f371f5..7486e10dfd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13051,6 +13051,34 @@ macros on libc without stdlib.")
         (modules '((guix build utils)))
         (snippet
          '(begin (delete-file-recursively "libgit2") #t))))
+
+(define-public rust-libflate-0.1
+  (package
+    (name "rust-libflate")
+    (version "0.1.27")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libflate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1p8z839c5lpl0g01mf8iglys9lgcjxw6xjw56crhwp8z7gs5s4yr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-adler32" ,rust-adler32-1)
+        ("rust-crc32fast" ,rust-crc32fast-1)
+        ("rust-rle-decode-fast" ,rust-rle-decode-fast-1)
+        ("rust-take-mut" ,rust-take-mut-0.2))
+       #:cargo-development-inputs
+       (("rust-clap" ,rust-clap-2))))
+    (home-page "https://github.com/sile/libflate")
+    (synopsis "DEFLATE algorithm and related formats (ZLIB, GZIP)")
+    (description "This package provides a Rust implementation of DEFLATE
+algorithm and related formats (ZLIB, GZIP).")
+    (license license:expat)))
+
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs