~ruther/guix-local

0f1cb84a5f96888c91d6a11aae0825852ed3f349 — Arthur Rodrigues 1 year, 1 month ago 63d9790
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>
1 files changed, 36 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +36 -0
@@ 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")