From a840dbba07a676f698646a8ff03ca4c0ef30f7f1 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Fri, 19 Nov 2021 18:06:56 -0500 Subject: gnu: Add go-github-com-kingpin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-github-com-kingpin): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index add69bf599..e355332b2d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9071,6 +9071,32 @@ GNU/Linux, this is a proxy for the @command{xdg-open} command.") (home-page "https://github.com/skratchdot/open-golang") (license license:expat)))) +(define-public go-github-com-kingpin + (package + (name "go-github-com-kingpin") + (version "2.2.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/kingpin") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r")))) + (build-system go-build-system) + (native-inputs + (list go-github-com-alecthomas-template go-github-com-alecthomas-units + go-github-com-stretchr-testify)) + (arguments + '(#:import-path "github.com/alecthomas/kingpin" + #:phases %standard-phases)) + (synopsis "Go library provides utilities for building command line interfaces") + (description + "Go library provides utilities for building command line interfaces.") + (home-page "https://github.com/alecthomas/kingpin") + (license license:expat))) + (define-public go-github-com-alecthomas-template (let ((commit "a0175ee3bccc567396460bf5acd36800cb10c49c") (revision "0")) -- cgit v1.2.3