mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 12:30:38 +02:00
gnu: go-github-com-kylelemons-godebug: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug, go-github-com-kylelemons-godebug-pretty): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I8dad929a25526a0aa08a9a6fc958e8b2034d702e
This commit is contained in:
parent
c253c9db5d
commit
c2c4998e61
2 changed files with 45 additions and 45 deletions
|
@ -13,6 +13,7 @@
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
|
;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
|
||||||
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
||||||
|
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
|
||||||
;;; Copyright © 2020, 2021 raingloom <raingloom@riseup.net>
|
;;; Copyright © 2020, 2021 raingloom <raingloom@riseup.net>
|
||||||
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
|
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
|
||||||
|
@ -4728,6 +4729,50 @@ allocation. @code{fastime} is returning the approximate time.")
|
||||||
"This package provides a pretty printer for Go values.")
|
"This package provides a pretty printer for Go values.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-kylelemons-godebug
|
||||||
|
(package
|
||||||
|
(name "go-github-com-kylelemons-godebug")
|
||||||
|
(version "1.1.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/kylelemons/godebug")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/kylelemons/godebug"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
;; XXX: Replace when go-build-system supports nested path.
|
||||||
|
(delete 'build)
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key import-path tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
|
(invoke "go" "test" "-v" "./..."))))))))
|
||||||
|
(home-page "https://github.com/kylelemons/godebug")
|
||||||
|
(synopsis "Pretty printer for Go values")
|
||||||
|
(description
|
||||||
|
"This package will pretty print a compact representation of a Go data
|
||||||
|
structure. It can also produce a much more verbose, one-item-per-line
|
||||||
|
representation suitable for computing diffs.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
;; TODO: Merge with go-github-com-kylelemons-godebug and provide both module;
|
||||||
|
;; for go-team.
|
||||||
|
(define-public go-github-com-kylelemons-godebug-pretty
|
||||||
|
(package
|
||||||
|
(inherit go-github-com-kylelemons-godebug)
|
||||||
|
(name "go-github-com-kylelemons-godebug-pretty")
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "github.com/kylelemons/godebug/pretty"
|
||||||
|
#:unpack-path "github.com/kylelemons/godebug"))))
|
||||||
|
|
||||||
(define-public go-github-com-lestrrat-go-envload
|
(define-public go-github-com-lestrrat-go-envload
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-lestrrat-go-envload")
|
(name "go-github-com-lestrrat-go-envload")
|
||||||
|
|
|
@ -4651,51 +4651,6 @@ have super fancy logs.")
|
||||||
"The fs package provides file-system-related Go functions.")
|
"The fs package provides file-system-related Go functions.")
|
||||||
(license license:bsd-3))))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
(define-public go-github-com-kylelemons-godebug
|
|
||||||
(package
|
|
||||||
(name "go-github-com-kylelemons-godebug")
|
|
||||||
(version "1.1.0")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/kylelemons/godebug")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:import-path "github.com/kylelemons/godebug"
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
;; XXX: Replace when go-build-system supports nested path.
|
|
||||||
(delete 'build)
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
|
||||||
(invoke "go" "test" "-v" "./..."))))))))
|
|
||||||
(home-page "https://github.com/kylelemons/godebug")
|
|
||||||
(synopsis "Pretty printer for Go values")
|
|
||||||
(description
|
|
||||||
"This package will pretty print a compact representation of a Go data
|
|
||||||
structure. It can also produce a much more verbose, one-item-per-line
|
|
||||||
representation suitable for computing diffs.")
|
|
||||||
(license license:asl2.0)))
|
|
||||||
|
|
||||||
;; TODO: Merge with go-github-com-kylelemons-godebug and provide both module;
|
|
||||||
;; for go-team.
|
|
||||||
(define-public go-github-com-kylelemons-godebug-pretty
|
|
||||||
(package
|
|
||||||
(inherit go-github-com-kylelemons-godebug)
|
|
||||||
(name "go-github-com-kylelemons-godebug-pretty")
|
|
||||||
(arguments
|
|
||||||
'(#:import-path "github.com/kylelemons/godebug/pretty"
|
|
||||||
#:unpack-path "github.com/kylelemons/godebug"))))
|
|
||||||
|
|
||||||
(define-public go-github-com-kr-text
|
(define-public go-github-com-kr-text
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-kr-text")
|
(name "go-github-com-kr-text")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue