gnu: go-github-com-klauspost-compress: Update to 1.17.11.

* gnu/packages/golang-compression.scm (go-github-com-klauspost-compress):
Update to 1.17.11.
[arguments] <phases>: Remove 'fix-permissions.
[propagated-inputs]: Remove go-github-com-golang-snappy.

Change-Id: I65fc1e856fdd7b961e497a1538d5d0d242bcaedb
This commit is contained in:
Sharlatan Hellseher 2025-01-02 22:34:11 +00:00
parent e07ad70dc2
commit ab8e8c90d1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -166,7 +166,7 @@ (define-public go-github-com-hhrutter-lzw
(define-public go-github-com-klauspost-compress
(package
(name "go-github-com-klauspost-compress")
(version "1.13.1")
(version "1.17.11")
(source
(origin
(method git-fetch)
@ -175,20 +175,11 @@ (define-public go-github-com-klauspost-compress
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ydnf9rizlhm8rilh14674qqx272sbwbkjx06xn9pqvy6mmn2r3r"))))
(base32 "1i8r1xiba62nng651p4razxg1kw1910sl4grm7axm2g4q8s3i298"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/klauspost/compress"
#:phases
(modify-phases %standard-phases
(add-before 'reset-gzip-timestamps 'fix-permissions
(lambda* (#:key outputs #:allow-other-keys)
;; Provide write permissions on gzip files so that
;; reset-gzip-timestamps has sufficient permissions.
(for-each make-file-writable
(find-files (assoc-ref outputs "out") ".gz$")))))))
(propagated-inputs
(list go-github-com-golang-snappy))
(list
#:import-path "github.com/klauspost/compress"))
(home-page "https://github.com/klauspost/compress")
(synopsis "Go compression library")
(description "@code{compress} provides various compression algorithms.")