diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-09-05 17:48:06 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-09-06 15:45:59 +0300 |
commit | e81e48ef29df257c8b3347a36165bbe284c13568 (patch) | |
tree | 030cc99622aa630ba5df82736f7fac5a1e18fa49 /gnu/packages/crates-io.scm | |
parent | 3a3c72e6b1a5a9a8b5251be6d0edb14bf060b453 (diff) | |
download | patches-e81e48ef29df257c8b3347a36165bbe284c13568.tar patches-e81e48ef29df257c8b3347a36165bbe284c13568.tar.gz |
gnu: Add rust-miniz-sys.
* gnu/packages/crates-io.scm (rust-miniz-sys): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
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") |