[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/34: gnu: Add go-github-com-davecgh-go-spew.
From: |
Pierre Neidhardt |
Subject: |
09/34: gnu: Add go-github-com-davecgh-go-spew. |
Date: |
Wed, 24 Oct 2018 06:28:50 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 6a95e3a3a4c97f20b66483b6bd7cac82ddfa0497
Author: Pierre Neidhardt <address@hidden>
Date: Wed Oct 24 11:07:38 2018 +0200
gnu: Add go-github-com-davecgh-go-spew.
* gnu/packages/golang.scm (go-github-com-davecgh-go-spew): New variable.
---
gnu/packages/golang.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6c8754b..2bea557 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2592,3 +2592,43 @@ generation features. This code generation is used to
achieve:
(description "A simple alternative to rcrowley's @command{go-metrics}
that's a lot faster (and only does simple bandwidth metrics).")
(license license:expat))))
+
+(define-public go-github-com-davecgh-go-spew
+ (let ((commit "d8f796af33cc11cb798c1aaeb27a4ebc5099927d")
+ (revision "0"))
+ (package
+ (name "go-github-com-davecgh-go-spew")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/davecgh/go-spew.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19z27f306fpsrjdvkzd61w1bdazcdbczjyjck177g33iklinhpvx"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:unpack-path "github.com/davecgh/go-spew"
+ #:import-path "github.com/davecgh/go-spew/spew"))
+ (home-page "https://github.com/davecgh/go-spew")
+ (synopsis "Deep pretty printer for Go data structures to aid in
debugging")
+ (description "Package @command{spew} implements a deep pretty printer
+for Go data structures to aid in debugging.
+
+A quick overview of the additional features spew provides over the built-in
printing facilities for Go data types are as follows:
+
address@hidden
address@hidden Pointers are dereferenced and followed.
address@hidden Circular data structures are detected and handled properly.
address@hidden Custom Stringer/error interfaces are optionally invoked,
including on
+unexported types.
address@hidden Custom types which only implement the Stringer/error interfaces
via a
+pointer receiver are optionally invoked when passing non-pointer variables.
address@hidden Byte arrays and slices are dumped like the hexdump -C command
which
+includes offsets, byte values in hex, and ASCII output (only when using Dump
+style).
address@hidden itemize\n")
+ (license license:isc))))
- 04/34: gnu: Add go-golang-org-x-crypto-ripemd160., (continued)
- 04/34: gnu: Add go-golang-org-x-crypto-ripemd160., Pierre Neidhardt, 2018/10/24
- 06/34: gnu: Add go-golang-org-x-crypto-sha3., Pierre Neidhardt, 2018/10/24
- 07/34: gnu: go-golang-org-x-crypto-union: Wrap all crypto packages., Pierre Neidhardt, 2018/10/24
- 05/34: gnu: Add go-golang-org-x-crypto-blake2s., Pierre Neidhardt, 2018/10/24
- 03/34: gnu: Add go-golang-org-x-crypto-ed25519., Pierre Neidhardt, 2018/10/24
- 02/34: gnu: Move go-golang-org-x-crypto-union from syncthing.scm to golang.scm, Pierre Neidhardt, 2018/10/24
- 08/34: gnu: Add go-github-com-libp2p-go-flow-metrics., Pierre Neidhardt, 2018/10/24
- 13/34: gnu: Add go-github-com-libp2p-go-libp2p-crypto., Pierre Neidhardt, 2018/10/24
- 12/34: gnu: Add go-github-com-minio-sha256-simd., Pierre Neidhardt, 2018/10/24
- 10/34: gnu: Add go-github-com-btcsuite-btclog., Pierre Neidhardt, 2018/10/24
- 09/34: gnu: Add go-github-com-davecgh-go-spew.,
Pierre Neidhardt <=
- 01/34: gnu: Move go-github-com-gogo-protobuf* from syncthing.scm to golang.scm, Pierre Neidhardt, 2018/10/24
- 19/34: gnu: Add go-github-com-libp2p-go-libp2p-peer., Pierre Neidhardt, 2018/10/24
- 11/34: gnu: Add go-github-com-btcsuite-btcd-btcec., Pierre Neidhardt, 2018/10/24
- 14/34: gnu: Add go-github-com-mr-tron-base58., Pierre Neidhardt, 2018/10/24
- 15/34: gnu: Add go-github-com-gxed-hashland-keccakpg., Pierre Neidhardt, 2018/10/24
- 18/34: gnu: Add go-github-com-multiformats-go-multihash., Pierre Neidhardt, 2018/10/24
- 17/34: gnu: Add go-github-com-spaolacci-murmur3., Pierre Neidhardt, 2018/10/24
- 22/34: gnu: Add go-github-com-mitchellh-go-homedir., Pierre Neidhardt, 2018/10/24
- 26/34: gnu: Add go-github-com-cheekybits-is., Pierre Neidhardt, 2018/10/24
- 31/34: gnu: Add go-github-com-whyrusleeping-stump., Pierre Neidhardt, 2018/10/24