gnu: go-github-com-jessevdk-go-flags: Update to 1.6.1.

* gnu/packages/golang.scm (go-github-com-jessevdk-go-flags): Update to 1.6.1.
[arguments]<test-flags>: Skip 2 failing tests.
<phases>: Remove 'fix-tests.

Change-Id: I60aca1bb542183dbd166b087ecdb4699eef06ef4
This commit is contained in:
Sharlatan Hellseher 2024-12-15 13:09:15 +00:00
parent 38b1306924
commit 6b85801ec0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2573,7 +2573,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.5.0")
(version "1.6.1")
(source (origin
(method git-fetch)
(uri (git-reference
@ -2581,17 +2581,12 @@ 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 "13ixw1yx4bvcj66lkc8zgwf9j7gkvj686g991gycdsafvdvca0lj"))))
(base32 "1dxk8n06sh15rm7777v5jgwxz9ca1c090ni6lyjhj1d2lxfysb45"))))
(build-system go-build-system)
(arguments
'(#: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")))))))
(list
#:import-path "github.com/jessevdk/go-flags"
#:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion")))
(propagated-inputs
(list go-golang-org-x-sys))
(synopsis "Go library for parsing command line arguments")