1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 11:00:36 +02:00

gnu: Add go-nullprogram-com-x-optparse.

* gnu/packages/golang-xyz.scm (go-nullprogram-com-x-optparse): New variable.

Change-Id: I52563130c2c305b68d7ed498995fad2cf8499994
This commit is contained in:
Sharlatan Hellseher 2024-12-26 15:36:25 +00:00
parent ac2b370a49
commit 0f49ff892f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -11960,6 +11960,33 @@ kubernetes-independent packages supplementing the
defined in @url{https://editorconfig.org/,https://editorconfig.org/}.")
(license license:bsd-3)))
(define-public go-nullprogram-com-x-optparse
(package
(name "go-nullprogram-com-x-optparse")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/skeeto/optparse-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1yzpzlhmxdm8gd8ikh9c91qmshjp1jg49l0qsslmm432wk19zym9"))))
(build-system go-build-system)
(arguments
(list
#:import-path "nullprogram.com/x/optparse"))
(home-page "https://nullprogram.com/x/optparse/")
(synopsis "Traditional long option parser for Go")
(description
"Package optparse parses command line arguments very similarly to GNU
@code{getopt_long()}. It supports long options and optional arguments, but
does not permute arguments. It is intended as a replacement for Go's flag
package.")
;; License type does latterly says it' "UNLICENSE".
(license license:unlicense)))
(define-public go-rsc-io-binaryregexp
(package
(name "go-rsc-io-binaryregexp")