mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: go-github-com-klauspost-compress: Move to golang-compression.
* gnu/packages/golang.scm (go-github-com-klauspost-compress): Move from here ... * gnu/packages/golang-compression.scm: ... to here. * gnu/packages/golang-compression.scm: Add (gnu packages golang-compression) module. * gnu/packages/golang-crypto.scm: As above. * gnu/packages/golang-web.scm: As above. * gnu/packages/uucp.scm: As above. Change-Id: Ia99f1e6aae7f75940fc150eb02862c0b3e9f3325
This commit is contained in:
parent
19c8f9e0fe
commit
d8f69addc2
5 changed files with 35 additions and 33 deletions
|
@ -56,6 +56,37 @@ (define-public go-github-com-golang-snappy
|
|||
compression format.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-github-com-klauspost-compress
|
||||
(package
|
||||
(name "go-github-com-klauspost-compress")
|
||||
(version "1.13.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/klauspost/compress")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0ydnf9rizlhm8rilh14674qqx272sbwbkjx06xn9pqvy6mmn2r3r"))))
|
||||
(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))
|
||||
(home-page "https://github.com/klauspost/compress")
|
||||
(synopsis "Go compression library")
|
||||
(description "@code{compress} provides various compression algorithms.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
;;;
|
||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
||||
;;; of a merge conflict, place them above by existing packages with similar
|
||||
|
|
|
@ -45,7 +45,8 @@ (define-module (gnu packages golang-crypto)
|
|||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages golang)
|
||||
#:use-module (gnu packages golang-build)
|
||||
#:use-module (gnu packages golang-check))
|
||||
#:use-module (gnu packages golang-check)
|
||||
#:use-module (gnu packages golang-compression))
|
||||
|
||||
;;; Commentary:
|
||||
;;;
|
||||
|
|
|
@ -50,6 +50,7 @@ (define-module (gnu packages golang-web)
|
|||
#:use-module (gnu packages golang)
|
||||
#:use-module (gnu packages golang-build)
|
||||
#:use-module (gnu packages golang-check)
|
||||
#:use-module (gnu packages golang-compression)
|
||||
#:use-module (gnu packages golang-crypto)
|
||||
#:use-module (gnu packages golang-xyz)
|
||||
#:use-module (gnu packages tls)
|
||||
|
|
|
@ -9498,38 +9498,6 @@ (define-public go-github-com-dustin-go-humanize
|
|||
back.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-klauspost-compress
|
||||
(package
|
||||
(name "go-github-com-klauspost-compress")
|
||||
(version "1.13.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/klauspost/compress")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0ydnf9rizlhm8rilh14674qqx272sbwbkjx06xn9pqvy6mmn2r3r"))))
|
||||
(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))
|
||||
(home-page "https://github.com/klauspost/compress")
|
||||
(synopsis "Go compression library")
|
||||
(description "@code{compress} provides various compression algorithms.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-github-com-oneofone-xxhash
|
||||
(package
|
||||
(name "go-github-com-oneofone-xxhash")
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
(define-module (gnu packages uucp)
|
||||
#:use-module (gnu packages golang)
|
||||
#:use-module (gnu packages golang-build)
|
||||
#:use-module (gnu packages golang-compression)
|
||||
#:use-module (gnu packages golang-crypto)
|
||||
#:use-module (gnu packages golang-web)
|
||||
#:use-module (gnu packages texinfo)
|
||||
|
|
Loading…
Reference in a new issue