diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-08 12:43:35 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-11 21:42:42 +0100 |
| commit | 0d0852ad4fd3c6feb7db1886b8f9f42e07c344dc (patch) | |
| tree | f5749547559c272afe6e6be9de145fe32af2fc73 /gnu | |
| parent | 43df4054b2e8e2374dba5282adf3082bd140c681 (diff) | |
gnu: go-github-com-spf13-pflag: Update to 1.0.6.
* gnu/packages/golang-xyz.scm (go-github-com-spf13-pflag): Update to 1.0.6.
[arguments] <go>: Use go-1.23.
Change-Id: I9983a00dfdb087a882c22c6bc687d723c47c7512
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index bc25793fae5..bc686be7ec3 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -17790,12 +17790,10 @@ a few advantages over using the standard log library alone. @end itemize") (license license:expat))) -;; XXX: Not maintained for 3y, see -;; <https://github.com/spf13/pflag/issues/385>. (define-public go-github-com-spf13-pflag (package (name "go-github-com-spf13-pflag") - (version "1.0.5") + (version "1.0.6") (source (origin (method git-fetch) @@ -17804,19 +17802,11 @@ a few advantages over using the standard log library alone. (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31")) - (snippet - #~(begin - (use-modules (guix build utils)) - ;; Fix compatibility with go-1.19+ - ;; https://github.com/spf13/pflag/issues/368 - (substitute* "flag_test.go" - (("fmt\\.Println") "fmt.Print") - (("\\+ got\\)") "+ got + \"\\n\")") - (("\\+ defaultOutput\\)") "+ defaultOutput + \"\\n\")")))))) + (base32 "0ckdaa5q3afhgx5hi45czxn2pcc5fd0sz4axh4hqxyvgsjfjvmg0")))) (build-system go-build-system) (arguments (list + #:go go-1.23 #:import-path "github.com/spf13/pflag")) (home-page "https://github.com/spf13/pflag") (synopsis "Replacement for Go's @code{flag} package") |
