guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/10: gnu: Add go-github-com-pborman-getopt.


From: guix-commits
Subject: 03/10: gnu: Add go-github-com-pborman-getopt.
Date: Sat, 20 Mar 2021 06:27:52 -0400 (EDT)

glv pushed a commit to branch master
in repository guix.

commit 3554527c53f02aeafbbf18515fae88430578f27a
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Mar 19 15:13:12 2021 +0100

    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(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 30a3654..0d434f8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6841,3 +6841,26 @@ sinks and sources.")
        "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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]