diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-07 21:20:36 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-13 14:22:21 +0000 |
| commit | b5bbfef22a51006945835dabb187ec400429128c (patch) | |
| tree | efd6f3bd36282abf31ce9c2b0cfc4420391d44d6 /gnu/packages | |
| parent | 13e682ea94d85b4d2dd856231f4e67d47a724141 (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.scm | 38 | ||||
| -rw-r--r-- | gnu/packages/golang.scm | 38 | ||||
| -rw-r--r-- | gnu/packages/high-availability.scm | 1 |
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 | ||
| 147 | for Go data structures to aid in debugging. | ||
| 148 | |||
| 149 | A quick overview of the additional features spew provides over the built-in | ||
| 150 | printing 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 | ||
| 156 | unexported types. | ||
| 157 | @item Custom types which only implement the Stringer/error interfaces via a | ||
| 158 | pointer receiver are optionally invoked when passing non-pointer variables. | ||
| 159 | @item Byte arrays and slices are dumped like the hexdump -C command which | ||
| 160 | includes offsets, byte values in hex, and ASCII output (only when using Dump | ||
| 161 | style). | ||
| 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: | |||
| 5345 | that's a lot faster (and only does simple bandwidth metrics).") | 5345 | that'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 | ||
| 5369 | for Go data structures to aid in debugging. | ||
| 5370 | |||
| 5371 | A 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 | ||
| 5377 | unexported types. | ||
| 5378 | @item Custom types which only implement the Stringer/error interfaces via a | ||
| 5379 | pointer receiver are optionally invoked when passing non-pointer variables. | ||
| 5380 | @item Byte arrays and slices are dumped like the hexdump -C command which | ||
| 5381 | includes offsets, byte values in hex, and ASCII output (only when using Dump | ||
| 5382 | style). | ||
| 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) |
