[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/88: gnu: go-github-com-spf13-pflag: Move to golang-xyz.
From: |
guix-commits |
Subject: |
17/88: gnu: go-github-com-spf13-pflag: Move to golang-xyz. |
Date: |
Fri, 6 Dec 2024 16:17:19 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 35c47c9a410dc5ac1b0b58defb673efba45c9e42
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 11:42:43 2024 +0000
gnu: go-github-com-spf13-pflag: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-spf13-pflag): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I15be5ebbc1b2c200267676ae0c8b88fc2e062e85
---
gnu/packages/golang-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 38 --------------------------------------
2 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e30189bae0..f01ec7e686 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com>
;;; Copyright © 2019, 2021 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2019-2021 Martin Becze <mjbecze@riseup.net>
-;;; Copyright © 2019-2022, 2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
@@ -7324,6 +7324,44 @@ 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")
+ (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
+ (list
+ #: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-stathat-go
(let ((commit "74669b9f388d9d788c97399a0824adbfee78400e")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2e8804a7e3..19e7384710 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3178,44 +3178,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")
- 50/88: gnu: go-github-com-gdamore-tcell-v2: Simplify package., (continued)
- 50/88: gnu: go-github-com-gdamore-tcell-v2: Simplify package., guix-commits, 2024/12/06
- 63/88: gnu: packages/linux: Remove golang-build module., guix-commits, 2024/12/06
- 37/88: gnu: go-github-com-xdg-go-scram: Update to 1.1.2., guix-commits, 2024/12/06
- 43/88: gnu: go-github-com-alsm-ioprogress: Update to 0.0.0-20170412085706-063c3725f436., guix-commits, 2024/12/06
- 59/88: gnu: go-github-com-vishvananda-netlink: Move to golang-web., guix-commits, 2024/12/06
- 65/88: gnu: go-gopkg-in-check-v1: Disable tests., guix-commits, 2024/12/06
- 69/88: gnu: Add go-go-abhg-dev-requiredfield., guix-commits, 2024/12/06
- 75/88: gnu: Add go-github-com-sebdah-goldie-v2., guix-commits, 2024/12/06
- 80/88: gnu: go-github-com-charmbracelet-x-exp-golden: Sort., guix-commits, 2024/12/06
- 16/88: gnu: go-github-com-spf13-jwalterweatherman: Improve description., guix-commits, 2024/12/06
- 17/88: gnu: go-github-com-spf13-pflag: Move to golang-xyz.,
guix-commits <=
- 23/88: gnu: go-github-com-bmatcuk-doublestar: Simplify package., guix-commits, 2024/12/06
- 24/88: gnu: go-github-com-bmatcuk-doublestar-v2: Enable tests., guix-commits, 2024/12/06
- 15/88: gnu: go-github-com-spf13-jwalterweatherman: Move to golang-xyz., guix-commits, 2024/12/06
- 26/88: gnu: go-github-com-bmatcuk-doublestar-v4: Update to 4.7.1., guix-commits, 2024/12/06
- 27/88: gnu: go-github-com-bmatcuk-doublestar: Move to golang-xyz., guix-commits, 2024/12/06
- 36/88: gnu: go-github-com-urfave-cli: Move to golang-xyz., guix-commits, 2024/12/06
- 29/88: gnu: go-github-com-olekukonko-tablewriter: Update to 0.0.5., guix-commits, 2024/12/06
- 34/88: gnu: go-github-com-urfave-cli: Update to 1.22.16., guix-commits, 2024/12/06
- 31/88: gnu: Add go-csv2table., guix-commits, 2024/12/06
- 35/88: gnu: go-github-com-urfave-cli-v2: Update to 2.27.5., guix-commits, 2024/12/06