GNU bug report logs - #72189
[PATCH 0/7] Update and unbundle vale - part II

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Fri, 19 Jul 2024 18:18:03 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 72189 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [bug#72189] [PATCH 3/7] gnu: Add go-github-com-mholt-archiver-v3.
Date: Fri, 19 Jul 2024 20:57:28 +0100
* gnu/packages/golang-compression.scm (go-github-com-mholt-archiver-v3,
go-arc): New variables.

Change-Id: I37f628de21475f98acb10dcff86780b697bba839
---
 gnu/packages/golang-compression.scm | 94 +++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)

diff --git a/gnu/packages/golang-compression.scm b/gnu/packages/golang-compression.scm
index c4465f1bcd..be7af6f894 100644
--- a/gnu/packages/golang-compression.scm
+++ b/gnu/packages/golang-compression.scm
@@ -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)
-- 
2.41.0





This bug report was last modified 1 year and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.