From 6fe6ebab4e380639d7f6862c7acc1f677581d318 Mon Sep 17 00:00:00 2001 From: raingloom Date: Mon, 13 Jul 2020 04:21:11 +0200 Subject: [PATCH 03/10] gnu: Add go-github-com-cheggaaa-pb at version 3.0.4 * gnu/packages/golang.scm (go-github-com-cheggaaa-pb): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7b27fe8265..57aea6ddef 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4287,3 +4287,31 @@ suffix comparison, rather than the string-based or tree-based approaches.") (description "Phony is a very minimal actor model library for Go, inspired by the causal messaging system in the Pony programming language") (license license:expat)))) + +(define-public go-github-com-cheggaaa-pb + (package + (name "go-github-com-cheggaaa-pb") + (version "3.0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cheggaaa/pb/") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0xhsv9yf3fz918ay6w0d87jnb3hk9vxvi16jk172kqq26x7jixd0")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/cheggaaa/pb/")) + (propagated-inputs + `(("go-github-com-fatih-color" ,go-github-com-fatih-color) + ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable) + ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth) + ("go-golang-org-x-sys" ,go-golang-org-x-sys))) + (native-inputs + `(("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty))) + (home-page "https://github.com/cheggaaa/pb/") + (synopsis "Console progress bar for Golang") + (description "") + (license license:bsd-3))) -- 2.27.0