summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-compression.scm
diff options
context:
space:
mode:
authorEfraim Flashner <[email protected]>2024-12-26 22:43:02 +0200
committerEfraim Flashner <[email protected]>2025-01-06 12:19:40 +0200
commit91983b6be43ed80e6beb30fc13304ed4025d478e (patch)
treef7030a407d3d4882bd48757f2229966da9da965f /gnu/packages/crates-compression.scm
parent8e11841adea252aa63f6c0c426c342f7891d24c0 (diff)
gnu: rust-tar-0.4: Move to (gnu packages crates-compression).
* gnu/packages/crates-io.scm (rust-tar-0.4): Move from here ... * gnu/packages/crates-compression.scm: ... to here. Change-Id: I32676146e89fce86d2c7423c5e834bd4a898a2b3
Diffstat (limited to 'gnu/packages/crates-compression.scm')
-rw-r--r--gnu/packages/crates-compression.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-compression.scm b/gnu/packages/crates-compression.scm
index 97161a14dc..23a5cbe267 100644
--- a/gnu/packages/crates-compression.scm
+++ b/gnu/packages/crates-compression.scm
@@ -1536,6 +1536,38 @@ streaming API for miniz_oxide.")
"This package provides a 7z decompressor/compressor written in pure rust.")
(license license:asl2.0)))
+(define-public rust-tar-0.4
+ (package
+ (name "rust-tar")
+ (version "0.4.43")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tar" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xm1l6gg180wq9xrq9vhyyxxpr4kvyh933yjagax05wf7wqrhnf6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Test tarballs not included in crate.
+ #:cargo-inputs
+ (("rust-filetime" ,rust-filetime-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-xattr" ,rust-xattr-1))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/alexcrichton/tar-rs")
+ (synopsis "Tar file reading/writing for Rust")
+ (description
+ "This package provides a Rust implementation of a TAR file reader and
+writer. This library does not currently handle compression, but it is abstract
+over all I/O readers and writers. Additionally, great lengths are taken to
+ensure that the entire contents are never required to be entirely resident in
+memory all at once.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-unrar-0.5
(package
(name "rust-unrar")