mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-lestrrat-go-option.
* gnu/packages/golang-xyz.scm (go-github-com-lestrrat-go-option): New variable. Change-Id: I71007172478d157a2a13d11171e34d996f02fbba Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
63d9790df6
commit
0f1cb84a5f
1 changed files with 36 additions and 0 deletions
|
@ -12454,6 +12454,42 @@ or during the tests temporarily change the value of an environment variable in
|
|||
Golang.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-lestrrat-go-option
|
||||
(package
|
||||
(name "go-github-com-lestrrat-go-option")
|
||||
(version "1.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/lestrrat-go/option")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0p9744hpdxsnimha5i0gyn7hxn2fy3dxqhlpqvj5s3pc5xv3s14h"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(begin
|
||||
;; Submodules with their own go.mod files and packaged separately:
|
||||
;;
|
||||
;; - github.com/lestrrat-go/option/cmd/genoptions
|
||||
(delete-file-recursively "cmd/genoptions")))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/lestrrat-go/option"))
|
||||
(native-inputs
|
||||
(list go-github-com-stretchr-testify))
|
||||
(propagated-inputs
|
||||
(list go-github-com-lestrrat-go-blackmagic))
|
||||
(home-page "https://github.com/lestrrat-go/option")
|
||||
(synopsis "Base option type for Go")
|
||||
(description
|
||||
"This package provides a Golang implementation of the Base object for the
|
||||
\"Optional Parameters Pattern\".")
|
||||
(license license:expat)))
|
||||
|
||||
|
||||
(define-public go-github-com-lestrrat-go-strftime
|
||||
(package
|
||||
(name "go-github-com-lestrrat-go-strftime")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue