diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-23 16:54:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:16 +0300 |
commit | 582453ce81556a16c98d7683ccf56369fc9b701c (patch) | |
tree | 6b76776847540bc5ccc9acd5a27fd007222c87d2 /gnu/packages | |
parent | bbce29d35676ac84b4ffcbf79b75849ff7835ec5 (diff) | |
download | guix-582453ce81556a16c98d7683ccf56369fc9b701c.tar guix-582453ce81556a16c98d7683ccf56369fc9b701c.tar.gz |
gnu: Add rust-libdeflate-sys-0.11.
* gnu/packages/crates-io.scm (rust-libdeflate-sys-0.11): New variable.
(rust-libdeflate-sys-0.5): Inherit from rust-libdeflate-sys-0.11.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 74031b44a5..c8d6944927 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31167,21 +31167,20 @@ macros on libc without stdlib.") (description "This package provides FFI bindings to libdbus.") (license (list license:asl2.0 license:expat)))) -(define-public rust-libdeflate-sys-0.5 +;; TODO: Unbundle libdeflate +(define-public rust-libdeflate-sys-0.11 (package (name "rust-libdeflate-sys") - (version "0.5.0") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "libdeflate-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "07ychzvz9xrqs92frs3zpny0l8jp3sndzqpl7zhv6kdqhzx9xqr1")))) + (base32 "0xs2wdly73ar7r9qyrbwnkwjjz4wd92kv5h78cdxfrsbp2v88ryb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)))) + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) (home-page "https://github.com/adamkewley/libdeflater") (synopsis "Bindings to libdeflate") (description @@ -31190,6 +31189,23 @@ exposed as non-streaming buffer operations. It contains bindings for raw deflate, zlib, and gzip data.") (license license:asl2.0))) +(define-public rust-libdeflate-sys-0.5 + (package + (inherit rust-libdeflate-sys-0.11) + (name "rust-libdeflate-sys") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflate-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07ychzvz9xrqs92frs3zpny0l8jp3sndzqpl7zhv6kdqhzx9xqr1")))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/adamkewley/libdeflater"))) + (define-public rust-libdeflater-0.11 (package (name "rust-libdeflater") |