diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 15:39:58 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:23 +0200 |
commit | 1d537e0a61450332eba3fd719b548522dc8216d8 (patch) | |
tree | 9574317e8f087e123900678411f218ef2da23662 | |
parent | 8e8c6d8ebad0e1c19dfb815963ae236338d4fddf (diff) |
gnu: Add rust-miniz-oxide-c-api-0.2.
* gnu/package/crates-io.scm (rust-miniz-oxide-c-api-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5fc7078348..03293d4838 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3074,6 +3074,35 @@ streaming API for miniz_oxide.") (base32 "17f92krv9hhsyc38prpfyn99m2hqhr4fgszpsla66a6gcrnpbhxn")))))) +(define-public rust-miniz-oxide-c-api-0.2 + (package + (name "rust-miniz-oxide-c-api") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide_c_api" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1514mvlj8vl723xqxnww5cfqr2mhnqqqf18fn3df17yx8racly2v")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crc32fast" ,rust-crc32fast-1.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-miniz-oxide" ,rust-miniz-oxide-0.2)) + #:cargo-development-inputs + (("rust-cc" ,rust-cc-1.0)))) + (home-page "https://github.com/Frommi/miniz_oxide/") + (synopsis "DEFLATE compression and decompression API") + (description + "DEFLATE compression and decompression API designed to be Rust +drop-in replacement for miniz.") + (license license:expat))) + (define-public rust-miniz-sys-0.1 (package (name "rust-miniz-sys") |