~ruther/guix-local

2fdc62e59bc3ff781ee54a748809eaba207e2eca — Sharlatan Hellseher 1 year, 1 month ago 642637c
gnu: Add go-github-com-lestrrat-go-option-v2.

* gnu/packages/golang-xyz.scm (go-github-com-lestrrat-go-option-v2): New variable.

Change-Id: I75f6421dd3609ca882fdcbe61bb5e414c7e8c48f
1 files changed, 25 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +25 -0
@@ 12553,6 12553,31 @@ arbitrary array and maps types.")
\"Optional Parameters Pattern\".")
    (license license:expat)))

(define-public go-github-com-lestrrat-go-option-v2
  (package
    (inherit go-github-com-lestrrat-go-option)
    (name "go-github-com-lestrrat-go-option-v2")
    (version "2.0.0")
    (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 "07w19iwqna9zml1x3zsrnm8dzq07kbwd3isf31293rm5i73rkmwq"))
       (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/v2"))))

(define-public go-github-com-lestrrat-go-strftime
  (package