1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 02:20:53 +02:00

gnu: rust-xz: Move to (gnu packages crates-compression).

* gnu/packages/crates-io.scm (rust-xz-0.1, rust-xz2-0.1): Move from here
* gnu/packages/crates-compression.scm: ... to here.

Change-Id: If8173e2a963d868ef097eaf28079c1a523b6a8ec
This commit is contained in:
Efraim Flashner 2024-12-26 22:40:50 +02:00
parent bac0a59c9b
commit 8e11841ade
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 57 additions and 57 deletions

View file

@ -1582,6 +1582,63 @@ streaming API for miniz_oxide.")
"This package provides FFI bindings to unrar (with minimal abstractions).")
(license license:expat)))
(define-public rust-xz-0.1
(package
(name "rust-xz")
(version "0.1.0")
(source (origin
(method url-fetch)
(uri (crate-uri "xz" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0d6sq57g1969hjl5k7gzzdbyr60za9hk8qs9iqz26biazy87d21w"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-xz2" ,rust-xz2-0.1))))
(native-inputs
(list pkg-config xz))
(home-page "https://github.com/alexcrichton/xz2-rs")
(synopsis "Alias of `xz2` crate")
(description
"Rust bindings to @code{liblzma} providing Read/Write streams as well as
low-level in-memory encoding/decoding. Alias of @code{xz2} crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-xz2-0.1
(package
(name "rust-xz2")
(version "0.1.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "xz2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1qk7nzpblizvayyq4xzi4b0zacmmbqr6vb9fc0v1avyp17f4931q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
;; Not all files included in the tarball.
"--skip=standard_files")
#:cargo-inputs
(("rust-futures" ,rust-futures-0.1)
("rust-lzma-sys" ,rust-lzma-sys-0.1)
("rust-tokio-io" ,rust-tokio-io-0.1))
#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-1)
("rust-rand" ,rust-rand-0.8)
("rust-tokio-core" ,rust-tokio-core-0.1))))
(native-inputs
(list pkg-config xz))
(home-page "https://github.com/alexcrichton/xz2-rs")
(synopsis "Rust bindings to liblzma")
(description "This package provides Rust bindings to liblzma providing
Read/Write streams as well as low-level in-memory encoding and decoding.")
(license (list license:expat license:asl2.0))))
(define-public rust-zip-2
(package
(name "rust-zip")