mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add go-github-com-mholt-archiver-v3.
* gnu/packages/golang-compression.scm (go-github-com-mholt-archiver-v3, go-arc): New variables. Change-Id: I37f628de21475f98acb10dcff86780b697bba839
This commit is contained in:
parent
31fed85aa8
commit
f1af3a542c
1 changed files with 94 additions and 0 deletions
|
@ -218,6 +218,86 @@ (define-public go-github-com-klauspost-pgzip
|
|||
time, as otherwise the internal gzip library will likely be faster.")
|
||||
(license (list license:bsd-3 license:expat))))
|
||||
|
||||
(define-public go-github-com-mholt-archiver-v3
|
||||
(package
|
||||
(name "go-github-com-mholt-archiver-v3")
|
||||
(version "3.5.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/mholt/archiver")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1py186hfy4p69wghqmbsyi1r3xvw1nyl55pz8f97a5qhmwxb3mwp"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/mholt/archiver/v3"))
|
||||
(propagated-inputs
|
||||
(list go-github-com-andybalholm-brotli
|
||||
go-github-com-dsnet-compress
|
||||
go-github-com-golang-snappy
|
||||
go-github-com-klauspost-compress
|
||||
go-github-com-klauspost-pgzip
|
||||
go-github-com-nwaples-rardecode
|
||||
go-github-com-pierrec-lz4-v4
|
||||
go-github-com-ulikunitz-xz
|
||||
go-github-com-xi2-xz))
|
||||
(home-page "https://github.com/mholt/archiver")
|
||||
(synopsis "Multi format archiver Golang library and CLI commad")
|
||||
(description
|
||||
"Package archiver facilitates convenient, cross-platform, high-level
|
||||
archival and compression operations for a variety of formats and compression
|
||||
algorithms.
|
||||
|
||||
Features:
|
||||
@itemize
|
||||
@item stream-oriented APIs
|
||||
@item automatically identify archive and compression formats
|
||||
@item traverse directories, archive files, and any other file uniformly as
|
||||
@code{io/fs} file systems
|
||||
@item compress and decompress files
|
||||
@item create and extract archive files
|
||||
@item walk or traverse into archive files
|
||||
@item extract only specific files from archives
|
||||
@item insert (append) into .tar and .zip archives
|
||||
@item read from password-protected 7-Zip files
|
||||
@item numerous archive and compression formats supported
|
||||
@item extensible (add more formats just by registering them)
|
||||
@item cross-platform, static binary
|
||||
@item pure Golang (no cgo)
|
||||
@item multithreaded Gzip
|
||||
@item adjust compression levels
|
||||
@item automatically add compressed files to zip archives without
|
||||
re-compressing
|
||||
@item open password-protected rar archives
|
||||
@end itemize
|
||||
|
||||
Supported compression formats:
|
||||
@itemize
|
||||
@item brotli (.br)
|
||||
@item bzip2 (.bz2)
|
||||
@item flate (.zip)
|
||||
@item gzip (.gz)
|
||||
@item lz4 (.lz4)
|
||||
@item lzip (.lz)
|
||||
@item snappy (.sz)
|
||||
@item xz (.xz)
|
||||
@item zlib (.zz)
|
||||
@item zstandard (.zst)
|
||||
@end itemize
|
||||
|
||||
Supported archive formats:
|
||||
@itemize
|
||||
@item .zip
|
||||
@item .tar (including any compressed variants like .tar.gz)
|
||||
@item .rar (read-only)
|
||||
@item .7z (read-only)
|
||||
@end itemize")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-nwaples-rardecode
|
||||
(package
|
||||
(name "go-github-com-nwaples-rardecode")
|
||||
|
@ -363,6 +443,20 @@ (define-public go-github-com-xi2-xz
|
|||
;;; Executables:
|
||||
;;;
|
||||
|
||||
(define-public go-arc
|
||||
(package
|
||||
(inherit go-github-com-mholt-archiver-v3)
|
||||
(name "go-arc")
|
||||
(arguments
|
||||
(list
|
||||
#:install-source? #f
|
||||
#:import-path "github.com/mholt/archiver/cmd/arc"
|
||||
#:unpack-path "github.com/mholt/archiver"))
|
||||
(description
|
||||
(string-append (package-description go-github-com-mholt-archiver-v3)
|
||||
"\nThis package provides an command line interface (CLI)
|
||||
tool."))))
|
||||
|
||||
(define-public go-lz4c
|
||||
(package
|
||||
(inherit go-github-com-pierrec-lz4-v4)
|
||||
|
|
Loading…
Reference in a new issue