gnu: Add rust-xz-0.1.

* gnu/packages/crates-io.scm (rust-xz-0.1): New variable.
This commit is contained in:
Efraim Flashner 2023-07-13 22:21:11 +03:00
parent 560df3d176
commit 4062580503
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -77601,6 +77601,29 @@ (define-public rust-xxhash-rust-0.8
algorithm in Rust.") algorithm in Rust.")
(license license:boost1.0))) (license license:boost1.0)))
(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 (define-public rust-xz2-0.1
(package (package
(name "rust-xz2") (name "rust-xz2")