mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add go-zgo-at-zstd.
* gnu/packages/golang-xyz.scm (go-zgo-at-zstd): New variable. Change-Id: Ib9662c07d532944eba9da2c7b62c81fae656846a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
534b74932d
commit
db85958f66
1 changed files with 34 additions and 0 deletions
|
@ -7400,6 +7400,40 @@ (define-public go-zgo-at-termtext
|
|||
terminals.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-zgo-at-zstd
|
||||
(package
|
||||
(name "go-zgo-at-zstd")
|
||||
(version "0.0.0-20240922235538-9a93b98b4725")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/arp242/zstd")
|
||||
(commit (go-version->git-ref version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "06nqiv1pkqnnqa3v6rlf0qfxgfd63vi4vv36acq54dxswxhcasaz"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "zgo.at/zstd"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Replace when go-build-system supports nested path.
|
||||
(replace 'check
|
||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v"
|
||||
"-skip" "TestExists"
|
||||
"./..."))))))))
|
||||
(home-page "https://github.com/arp242/zstd")
|
||||
(synopsis "Extensions to Go's standard library")
|
||||
(description
|
||||
"Package @samp{zstd} is a collection of extensions to Go's standard
|
||||
library.")
|
||||
(license license:expat)))
|
||||
|
||||
;;;
|
||||
;;; Executables:
|
||||
;;;
|
||||
|
|
Loading…
Reference in a new issue