mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-stretchr-objx: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-stretchr-objx): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I2ab70003a3d85812a6905a60c84af88e0df1e133
This commit is contained in:
parent
7fe99a5faf
commit
ca88519403
2 changed files with 38 additions and 38 deletions
|
@ -5260,6 +5260,44 @@ well as a program to generate applications and command files.")
|
||||||
(home-page "https://github.com/stathat/go")
|
(home-page "https://github.com/stathat/go")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
|
(define-public go-github-com-stretchr-objx
|
||||||
|
(package
|
||||||
|
(name "go-github-com-stretchr-objx")
|
||||||
|
(version "0.5.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/stretchr/objx")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1jcxpfgfpk82lryjkhbd5dy7xzx08d7b9dvbx4bpkmjvn6p339jl"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/stretchr/objx"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
||||||
|
(unless
|
||||||
|
;; The tests fail when run with gccgo.
|
||||||
|
(false-if-exception (search-input-file inputs "/bin/gccgo"))
|
||||||
|
(apply (assoc-ref %standard-phases 'check) args)))))))
|
||||||
|
(native-inputs
|
||||||
|
;; go-spew and go-difflib are to cover testify-bootstrap and not required
|
||||||
|
;; for odjx itself.
|
||||||
|
(list go-github-com-davecgh-go-spew
|
||||||
|
go-github-com-pmezard-go-difflib
|
||||||
|
go-github-com-stretchr-testify-bootstrap))
|
||||||
|
(home-page "https://github.com/stretchr/objx")
|
||||||
|
(synopsis "Go package for dealing with maps, slices, JSON and other data")
|
||||||
|
(description
|
||||||
|
"This package provides a Go library for dealing with maps,
|
||||||
|
slices, JSON and other data.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-syndtr-goleveldb
|
(define-public go-github-com-syndtr-goleveldb
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-syndtr-goleveldb")
|
(name "go-github-com-syndtr-goleveldb")
|
||||||
|
|
|
@ -3193,44 +3193,6 @@ developed by the Go team. It provides IDE features to any LSP-compatible
|
||||||
editor.")
|
editor.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public go-github-com-stretchr-objx
|
|
||||||
(package
|
|
||||||
(name "go-github-com-stretchr-objx")
|
|
||||||
(version "0.5.2")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/stretchr/objx")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1jcxpfgfpk82lryjkhbd5dy7xzx08d7b9dvbx4bpkmjvn6p339jl"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:import-path "github.com/stretchr/objx"
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
|
||||||
(unless
|
|
||||||
;; The tests fail when run with gccgo.
|
|
||||||
(false-if-exception (search-input-file inputs "/bin/gccgo"))
|
|
||||||
(apply (assoc-ref %standard-phases 'check) args)))))))
|
|
||||||
(native-inputs
|
|
||||||
;; go-spew and go-difflib are to cover testify-bootstrap and not required
|
|
||||||
;; for odjx itself.
|
|
||||||
(list go-github-com-davecgh-go-spew
|
|
||||||
go-github-com-pmezard-go-difflib
|
|
||||||
go-github-com-stretchr-testify-bootstrap))
|
|
||||||
(home-page "https://github.com/stretchr/objx")
|
|
||||||
(synopsis "Go package for dealing with maps, slices, JSON and other data")
|
|
||||||
(description "This package provides a Go library for dealing with maps,
|
|
||||||
slices, JSON and other data.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public go-github-com-tevino-abool
|
(define-public go-github-com-tevino-abool
|
||||||
(let ((commit
|
(let ((commit
|
||||||
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
|
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue