[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty
From: |
Pierre Neidhardt |
Subject: |
[bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty. |
Date: |
Fri, 22 Jun 2018 20:30:28 +0200 |
* gnu/packages/golang.scm (go-github-com-michiwend-golang-pretty): New variable.
---
gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c0973e838..d0f3ab9df 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2082,3 +2082,37 @@ be performed.")
(description "Package @code{text} provides manipulation Go functions for
paragraphs of text.")
(license license:bsd-style))))
+
+(define-public go-github-com-michiwend-golang-pretty
+ (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
+ (revision "0"))
+ (package
+ (name "go-github-com-michiwend-golang-pretty")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/michiwend/golang-pretty")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("go-github-com-kr-text" ,go-github-com-kr-text)))
+ (arguments
+ `(#:tests? #f ; Upstream tests seem to be broken.
+ #:import-path "github.com/michiwend/golang-pretty"))
+ (home-page "https://github.com/michiwend/golang-pretty")
+ (synopsis "Pretty printing for Go values")
+ (description "Package @code{pretty} provides pretty-printing for Go
+values. This is useful during debugging, to avoid wrapping long output lines
+in the terminal.
+
+It provides a function, Formatter, that can be used with any function that
+accepts a format string. It also provides convenience wrappers for functions
+in packages fmt and log.")
+ (license license:bsd-style))))
--
2.17.1
- [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode., (continued)
- [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 04/13] gnu: Add go-github-com-aarzilli-golua., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 13/13] gnu: Add demlo., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 09/13] gnu: Add go-github-com-kr-text., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 11/13] gnu: Add go-github-com-michiwend-gomusicbrainz., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 12/13] gnu: Add go-github-com-wtolson-go-taglib., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty.,
Pierre Neidhardt <=
- [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty., Pierre Neidhardt, 2018/06/23