[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: go-github.com-jessevdk-go-flags: Update to 1
From: |
guix-commits |
Subject: |
branch master updated: gnu: go-github.com-jessevdk-go-flags: Update to 1.5.0. |
Date: |
Wed, 23 Feb 2022 05:24:53 -0500 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c026d5cb53 gnu: go-github.com-jessevdk-go-flags: Update to 1.5.0.
c026d5cb53 is described below
commit c026d5cb531bb831cc521272a5aa2851648b8899
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Feb 22 15:51:53 2022 +0200
gnu: go-github.com-jessevdk-go-flags: Update to 1.5.0.
* gnu/packages/golang.scm (go-github.com-jessevdk-go-flags): Update to
1.5.0.
[arguments]: Add custom phase to fix tests.
[propagated-inputs]: Add go-golang-org-x-sys.
---
gnu/packages/golang.scm | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0f80d4aba7..a093728805 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2107,7 +2107,7 @@ specified by @uref{https://tools.ietf.org/html/rfc2141,
IETF RFC 2141}.")
(define-public go-github.com-jessevdk-go-flags
(package
(name "go-github.com-jessevdk-go-flags")
- (version "1.3.0")
+ (version "1.5.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2115,11 +2115,19 @@ specified by @uref{https://tools.ietf.org/html/rfc2141,
IETF RFC 2141}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36"))))
+ (base32
"13ixw1yx4bvcj66lkc8zgwf9j7gkvj686g991gycdsafvdvca0lj"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/jessevdk/go-flags"))
+ '(#:import-path "github.com/jessevdk/go-flags"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ ;; SOURCE_DATE_EPOCH messes with the date on the man page test.
+ (substitute* "src/github.com/jessevdk/go-flags/help_test.go"
+ (("TestMan") "DisabledTestMan")))))))
+ (propagated-inputs
+ (list go-golang-org-x-sys))
(synopsis "Go library for parsing command line arguments")
(description
"The @code{flags} package provides a command line option parser. The
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: go-github.com-jessevdk-go-flags: Update to 1.5.0.,
guix-commits <=