summaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm38
1 files changed, 0 insertions, 38 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f0263e8dc5..21979fdd7f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3179,44 +3179,6 @@ information about the resource usage and performance characteristics of running
containers.")
(license license:asl2.0))))
-;; 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")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/spf13/pflag")
- (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\")"))))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/spf13/pflag"))
- (home-page "https://github.com/spf13/pflag")
- (synopsis "Replacement for Go's @code{flag} package")
- (description
- "Pflag is library to replace Go's @code{flag} package. It implements
-POSIX/GNU-style command-line options with double hyphens. It is is compatible
-with the
-@uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html,
-GNU extensions} to the POSIX recommendations for command-line options.")
- (license license:bsd-3)))
-
(define-public go-github-com-spf13-viper
(package
(name "go-github-com-spf13-viper")