summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 14:33:18 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:17 +0100
commit2635616ce8a153b61e198a07deca58d009b52c67 (patch)
tree7f2352144686d4ccc961a02203b88d5fcc91d734 /gnu
parent9a270ca78594429e578ff1edc8c1ea343342bc8c (diff)
downloadguix-2635616ce8a153b61e198a07deca58d009b52c67.tar.gz
gnu: Add rust-include-flate-0.1.
* gnu/packages/crates-io.scm (rust-include-flate-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa2f3cb06f..423ca2c52d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17288,6 +17288,31 @@ let} expressions.")
 ignore files such as @file{.gitignore} against file paths.")
     (license (list license:unlicense license:expat))))
 
+(define-public rust-include-flate-0.1
+  (package
+    (name "rust-include-flate")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "include-flate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xd63rhr03ax1w327ws46wc9zyw5k9jsaxfy24j6wg9km3xhfqii"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-include-flate-codegen-exports" ,rust-include-flate-codegen-exports-0.1)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libflate" ,rust-libflate-0.1))))
+    (home-page "https://github.com/SOF3/include-flate")
+    (synopsis "Variant of @code{include_bytes!/include_str!} with compression")
+    (description
+     "This package provides a variant of @code{include_bytes!/include_str!}
+with compile-time deflation and runtime lazy inflation.")
+    (license license:asl2.0)))
+
 (define-public rust-include-flate-codegen-0.1
   (package
     (name "rust-include-flate-codegen")