1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 11:30:44 +02: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:
Sharlatan Hellseher 2024-08-14 23:57:34 +01:00
parent 7fe99a5faf
commit ca88519403
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 38 additions and 38 deletions

View file

@ -3193,44 +3193,6 @@ developed by the Go team. It provides IDE features to any LSP-compatible
editor.")
(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
(let ((commit
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")