diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-22 20:50:51 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:10 +0300 |
commit | a763dd833aaa1065afce7b01f06194bc43648e1b (patch) | |
tree | 5c34139ce3ce03724a3191cc33822f6e3a266a9b /gnu | |
parent | 7309bbe9001e45be0c5da70467cc25f46338070c (diff) | |
download | guix-a763dd833aaa1065afce7b01f06194bc43648e1b.tar.gz |
gnu: Add rust-zip-0.6.
* gnu/packages/crates-io.scm (rust-zip-0.6): New variable. (rust-zip-0.5): Inherit from rust-zip-0.6.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 49 |
1 files changed, 41 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 19d8ac0348..c226fc0fef 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72208,8 +72208,48 @@ implementation that works everywhere, even WASM!") (description "This crate provides custom derive support for Zeroize.") (license (list license:asl2.0 license:expat)))) +(define-public rust-zip-0.6 + (package + (name "rust-zip") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "zip" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vydb0v9xl6skr63r6prjs9a67hjzcdc25j3kd9r7fr4r7xx0i84")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aes" ,rust-aes-0.7) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-pbkdf2" ,rust-pbkdf2-0.11) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-time" ,rust-time-0.3) + ("rust-zstd" ,rust-zstd-0.11)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-time" ,rust-time-0.3) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/mvdnes/zip-rs.git") + (synopsis + "Library to support the reading and writing of zip files") + (description + "Library to support the reading and writing of zip files.") + (license license:expat))) + (define-public rust-zip-0.5 (package + (inherit rust-zip-0.6) (name "rust-zip") (version "0.5.13") (source @@ -72221,7 +72261,6 @@ implementation that works everywhere, even WASM!") (sha256 (base32 "0588z88sj37nj1clis1rf4fh794av0hwaiaihfrin9b19n24iawk")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -72230,13 +72269,7 @@ implementation that works everywhere, even WASM!") ("rust-crc32fast" ,rust-crc32fast-1) ("rust-flate2" ,rust-flate2-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.1)))) - (home-page "https://github.com/mvdnes/zip-rs.git") - (synopsis - "Library to support the reading and writing of zip files") - (description - "Library to support the reading and writing of zip files.") - (license license:expat))) + ("rust-time" ,rust-time-0.1)))))) (define-public rust-zoneinfo-compiled-0.5 (package |