Subject: bug#69640: closed ([PATCH] gnu: Add go-github-com-klauspost-pgzip.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 17 Mar 2024 00:20:02 +0000

Your bug report

#69640: [PATCH] gnu: Add go-github-com-klauspost-pgzip.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
69640: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69640
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add go-github-com-klauspost-pgzip.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Sun, 17 Mar 2024 00:17:31 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Pushed as d7e6c3cae0762d6a299162f2d7d8c44ca1390dd7 to master.

--
Oleg

Subject: [PATCH] gnu: Add go-github-com-klauspost-pgzip.
From: Troy Figiel <[email-masked]>
To: [email-masked]
Date: Fri, 8 Mar 2024 15:10:53 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/golang-compression.scm (go-github-com-klauspost-pgzip): New variable.
---
 gnu/packages/golang-compression.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-compression.scm b/gnu/packages/golang-compression.scm
index b999c063ee..504491e8e0 100644
--- a/gnu/packages/golang-compression.scm
+++ b/gnu/packages/golang-compression.scm
@@ -140,6 +140,33 @@ (define-public go-github-com-klauspost-compress
     (description "@code{compress} provides various compression algorithms.")
     (license license:bsd-3)))
 
+(define-public go-github-com-klauspost-pgzip
+  (package
+    (name "go-github-com-klauspost-pgzip")
+    (version "1.2.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/klauspost/pgzip")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1j29wr6nd9ncdbkjphyziv0h8p5s2mj222cgcfqxmzjnfn7623d8"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/klauspost/pgzip"))
+    (propagated-inputs (list go-github-com-klauspost-compress))
+    (home-page "https://github.com/klauspost/pgzip")
+    (synopsis "Parallel (de)compression of gzip files in Go")
+    (description
+     "This package implements parallel gzip compression and decompression in
+Golang and is fully compatible with @code{compress/gzip} from the standard
+library.  This is beneficial for large amounts of data, say more than 1MB at a
+time, as otherwise the internal gzip library will likely be faster.")
+    (license (list license:bsd-3 license:expat))))
+
 (define-public go-github-com-nwaples-rardecode-v2
   (package
     (name "go-github-com-nwaples-rardecode-v2")

base-commit: d79c88e8809d2079452fd276bf4d17eb16636ff9
-- 
2.42.0