summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-23 21:06:40 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:41:42 +0000
commitea10355d351b5dde232449da572b792750a67c97 (patch)
tree48bea71cd222cce99ab4833c360b26515dacc879 /gnu/packages/golang-xyz.scm
parenta50a541df36b088b64b765d692863f7b6905025f (diff)
gnu: Remove go-github-com-dustin-gojson.
It's not maintained for 8y and not in use by any other packages in Guix. * gnu/packages/golang-xyz.scm (go-github-com-dustin-gojson): Delete variable. Change-Id: I0b8d6e0873967d2454654640fa5f5add0b2bfaf3
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm35
1 files changed, 0 insertions, 35 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 6fb2594ae6..9b929a434e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2597,41 +2597,6 @@ Implements string conversion functionality for unit prefixes.
@end table")
(license license:bsd-3)))
-(define-public go-github-com-dustin-gojson
- (package
- (name "go-github-com-dustin-gojson")
- (version "v0.0.0-20160307161227-2e71ec9dd5ad")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/dustin/gojson")
- (commit (go-version->git-ref version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1vrmmyn7l568l1k71mxd54iqf3d54pn86cf278i374j86jn0bdxf"))
- (modules '((guix build utils)))
- (snippet '(begin
- ;; Fix the library to work with go-1.21.
- (substitute* "decode.go"
- (("trying to unmarshal unquoted value into")
- "trying to unmarshal unquoted value %v into"))
- (substitute* "decode_test.go"
- (("t.Fatalf\\(\"Unmarshal: %v\"\\)")
- "t.Fatalf(\"Unmarshal: %v\", data)")) ;))))
- (substitute* "scanner.go"
- (("s := strconv.Quote\\(string\\(c\\)\\)")
- "s := strconv.QuoteRune(rune(c))"))))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/dustin/gojson"))
- (home-page "https://github.com/dustin/gojson")
- (synopsis "Extended Golang's @code{encoding/json} module with the public scanner API")
- (description
- "This package provides a fork of Golang's @code{encoding/json} with the
-scanner API made public.")
- (license license:bsd-3)))
-
(define-public go-github-com-dustin-go-humanize
(package
(name "go-github-com-dustin-go-humanize")