From 15b96de8526e6cae03fa919384aaa47a8d7a0699 Mon Sep 17 00:00:00 2001 From: Troy Figiel Date: Sat, 17 Feb 2024 20:11:05 +0100 Subject: gnu: Add go-github-com-k0kubun-pp. * gnu/packages/golang-xyz.scm (go-github-com-k0kubun-pp): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index fe0a06270e..f85bfe1e71 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -795,6 +795,33 @@ Differentiation between text and binary files}. struct to another.") (license license:expat))) +(define-public go-github-com-k0kubun-pp + (package + (name "go-github-com-k0kubun-pp") + (version "3.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/k0kubun/pp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vpp5n3kdazk4s1ljhwbrhz3kilzvdvx5hya922bg0q9vnjqqvvc")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/k0kubun/pp")) + (propagated-inputs (list go-github-com-mattn-go-colorable + go-golang-org-x-text)) + (home-page "https://github.com/k0kubun/pp") + (synopsis "Colored pretty-printer for Go") + (description + "This package provides a pretty-printer for Go. The functions defined by +@code{pp} follow an API similar to @code{fmt} and its configuration can be +customized globally.") + (license license:expat))) + (define-public go-github-com-matryer-try (package (name "go-github-com-matryer-try") -- cgit v1.2.3