summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 17:48:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:45:59 +0300
commite81e48ef29df257c8b3347a36165bbe284c13568 (patch)
tree030cc99622aa630ba5df82736f7fac5a1e18fa49 /gnu
parent3a3c72e6b1a5a9a8b5251be6d0edb14bf060b453 (diff)
downloadguix-e81e48ef29df257c8b3347a36165bbe284c13568.tar.gz
gnu: Add rust-miniz-sys.
* gnu/packages/crates-io.scm (rust-miniz-sys): New variable.
Diffstat (limited to 'gnu')
-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 4a2f545018..ea6fd1dbc7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1303,6 +1303,30 @@ file IO.")
 streaming API for miniz_oxide.")
     (license license:expat)))
 
+(define-public rust-miniz-sys
+  (package
+    (name "rust-miniz-sys")
+    (version "0.1.12")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "miniz-sys" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc" ,rust-cc)
+        ("rust-libc" ,rust-libc))))
+    (home-page "https://github.com/alexcrichton/flate2-rs")
+    (synopsis "Bindings to the miniz.c library")
+    (description
+     "This package provides bindings to the @code{miniz.c} library.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-modifier
   (package
     (name "rust-modifier")