summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-02-07 21:20:36 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-13 14:22:21 +0000
commitb5bbfef22a51006945835dabb187ec400429128c (patch)
treeefd6f3bd36282abf31ce9c2b0cfc4420391d44d6 /gnu/packages
parent13e682ea94d85b4d2dd856231f4e67d47a724141 (diff)
gnu: go-github-com-davecgh-go-spew: Move to golang-check.
* gnu/packages/golang.scm (go-github-com-davecgh-go-spew): Move from here ... * gnu/packages/golang-check.scm: ... to here. * gnu/packages/high-availability.scm: Add (gnu packages golang-check) module. Change-Id: I935006c3656b7bf18b91e529296778672338f094
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang-check.scm38
-rw-r--r--gnu/packages/golang.scm38
-rw-r--r--gnu/packages/high-availability.scm1
3 files changed, 39 insertions, 38 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 2decd1f664f..c5e30f7fe13 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -124,6 +124,44 @@
124@end itemize\n") 124@end itemize\n")
125 (license license:expat)))) 125 (license license:expat))))
126 126
127(define-public go-github-com-davecgh-go-spew
128 (package
129 (name "go-github-com-davecgh-go-spew")
130 (version "1.1.1")
131 (source
132 (origin
133 (method git-fetch)
134 (uri (git-reference
135 (url "https://github.com/davecgh/go-spew")
136 (commit (string-append "v" version))))
137 (file-name (git-file-name name version))
138 (sha256
139 (base32 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
140 (build-system go-build-system)
141 (arguments
142 '(#:unpack-path "github.com/davecgh/go-spew"
143 #:import-path "github.com/davecgh/go-spew/spew"))
144 (home-page "https://github.com/davecgh/go-spew")
145 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
146 (description "Package @command{spew} implements a deep pretty printer
147for Go data structures to aid in debugging.
148
149A quick overview of the additional features spew provides over the built-in
150printing facilities for Go data types are as follows:
151
152@itemize
153@item Pointers are dereferenced and followed.
154@item Circular data structures are detected and handled properly.
155@item Custom Stringer/error interfaces are optionally invoked, including on
156unexported types.
157@item Custom types which only implement the Stringer/error interfaces via a
158pointer receiver are optionally invoked when passing non-pointer variables.
159@item Byte arrays and slices are dumped like the hexdump -C command which
160includes offsets, byte values in hex, and ASCII output (only when using Dump
161style).
162@end itemize")
163 (license license:isc)))
164
127(define-public go-github-com-frankban-quicktest 165(define-public go-github-com-frankban-quicktest
128 (package 166 (package
129 (name "go-github-com-frankban-quicktest") 167 (name "go-github-com-frankban-quicktest")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d529490b493..269bfdec95c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5345,44 +5345,6 @@ generation features. This code generation is used to achieve:
5345that's a lot faster (and only does simple bandwidth metrics).") 5345that's a lot faster (and only does simple bandwidth metrics).")
5346 (license license:expat)))) 5346 (license license:expat))))
5347 5347
5348(define-public go-github-com-davecgh-go-spew
5349 (package
5350 (name "go-github-com-davecgh-go-spew")
5351 (version "1.1.1")
5352 (source
5353 (origin
5354 (method git-fetch)
5355 (uri (git-reference
5356 (url "https://github.com/davecgh/go-spew")
5357 (commit (string-append "v" version))))
5358 (file-name (git-file-name name version))
5359 (sha256
5360 (base32
5361 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"))))
5362 (build-system go-build-system)
5363 (arguments
5364 '(#:unpack-path "github.com/davecgh/go-spew"
5365 #:import-path "github.com/davecgh/go-spew/spew"))
5366 (home-page "https://github.com/davecgh/go-spew")
5367 (synopsis "Deep pretty printer for Go data structures to aid in debugging")
5368 (description "Package @command{spew} implements a deep pretty printer
5369for Go data structures to aid in debugging.
5370
5371A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows:
5372
5373@itemize
5374@item Pointers are dereferenced and followed.
5375@item Circular data structures are detected and handled properly.
5376@item Custom Stringer/error interfaces are optionally invoked, including on
5377unexported types.
5378@item Custom types which only implement the Stringer/error interfaces via a
5379pointer receiver are optionally invoked when passing non-pointer variables.
5380@item Byte arrays and slices are dumped like the hexdump -C command which
5381includes offsets, byte values in hex, and ASCII output (only when using Dump
5382style).
5383@end itemize\n")
5384 (license license:isc)))
5385
5386(define-public go-github-com-btcsuite-btclog 5348(define-public go-github-com-btcsuite-btclog
5387 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a") 5349 (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a")
5388 (revision "0")) 5350 (revision "0"))
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index ad18a397386..0678edaf4e9 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -36,6 +36,7 @@
36 #:use-module (gnu packages gettext) 36 #:use-module (gnu packages gettext)
37 #:use-module (gnu packages glib) 37 #:use-module (gnu packages glib)
38 #:use-module (gnu packages golang) 38 #:use-module (gnu packages golang)
39 #:use-module (gnu packages golang-check)
39 #:use-module (gnu packages golang-compression) 40 #:use-module (gnu packages golang-compression)
40 #:use-module (gnu packages golang-crypto) 41 #:use-module (gnu packages golang-crypto)
41 #:use-module (gnu packages golang-web) 42 #:use-module (gnu packages golang-web)