From 3554527c53f02aeafbbf18515fae88430578f27a Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 19 Mar 2021 15:13:12 +0100 Subject: gnu: Add go-github-com-pborman-getopt. * gnu/packages/golang.scm (go-github-com-pborman-getopt): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 30a36540f4..0d434f8bea 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6841,3 +6841,26 @@ (define-public go-github-com-mesilliac-pulse-simple "This packages provides Cgo bindings to PulseAudio's Simple API, to play or capture raw audio.") (license license:expat)))) + +(define-public go-github-com-pborman-getopt + (package + (name "go-github-com-pborman-getopt") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pborman/getopt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sacv6g8cxfibxd3gnfjnzp7fynrnc4s2aaz5wbxivqqhvflc22l")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/pborman/getopt")) + (home-page "https://github.com/pborman/getopt") + (synopsis "Getopt style option parsing for Go") + (description + "This package provides traditional getopt processing for implementing +programs that use traditional command lines.") + (license license:bsd-3))) -- cgit v1.2.3