diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-21 09:22:31 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:30 +0200 |
commit | 969238fd714f080c036607611466aab625ed8cff (patch) | |
tree | 1269491d4255ab5a921edca8faf5c33c0d19b2de | |
parent | 2a611cec3377e131aeb067e1db92a64c82c4dcd8 (diff) |
gnu: Add rust-zstd-0.13.
* gnu/packages/crates-io.scm (rust-zstd-0.13): New variable.
(rust-zstd-0.11): Inherit from rust-zstd-0.13.
Change-Id: I7564a407e74dae9c1a1bab3d872b7e7767c23f91
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fd504e7857..a637928898 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -92406,8 +92406,34 @@ implementation that works everywhere, even WASM!") "This package provides a library for parsing compiled zoneinfo files.") (license license:expat))) +(define-public rust-zstd-0.13 + (package + (name "rust-zstd") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0401q54s9r35x2i7m1kwppgkj79g0pb6xz3xpby7qlkdb44k7yxz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-zstd-safe" ,rust-zstd-safe-7)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-humansize" ,rust-humansize-2) + ("rust-partial-io" ,rust-partial-io-0.5) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/gyscos/zstd-rs") + (synopsis "Binding to the zstd compression library") + (description + "This package provides a binding to the Zstd compression library.") + (license license:expat))) + (define-public rust-zstd-0.11 (package + (inherit rust-zstd-0.13) (name "rust-zstd") (version "0.11.2+zstd.1.5.2") (source @@ -92418,7 +92444,6 @@ implementation that works everywhere, even WASM!") (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r7xlmgnifhxbfyid8vkcnd5ip16gx9hf89d1l0lzrpc4q1rdk10")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -92427,12 +92452,7 @@ implementation that works everywhere, even WASM!") (("rust-clap" ,rust-clap-3) ("rust-humansize" ,rust-humansize-1) ("rust-partial-io" ,rust-partial-io-0.5) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/gyscos/zstd-rs") - (synopsis "Binding to the zstd compression library") - (description - "This package provides a binding to the Zstd compression library.") - (license license:expat))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-zstd-0.9 (package |