summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-10 23:04:04 +0000
committerAndreas Enge <andreas@enge.fr>2026-02-15 14:17:46 +0100
commited003fd1d922b0c54cd23f37a35478328da446a4 (patch)
tree93bff7ea0f34cddb001cdbcfb799ab8413cfdf05 /gnu
parentba09a68e0384e83af01cad0b8077a30a457a8988 (diff)
gnu: go-mvdan-cc-unparam: Update to 0.0.0-20251027182757-5beb8c8f8f15.
* gnu/packages/golang-check.scm (go-mvdan-cc-unparam): Update to 0.0.0-20251027182757-5beb8c8f8f15. [phases]{remove-failing-test-scripts}: Rework problematic test scripts. [propagated-inputs]: Remove go-github-com-pkg-diff and go-github-com-rogpeppe-go-internal. [native-inputs]: Add go-github-com-rogpeppe-go-internal-1.14. Change-Id: I7767ec55afc46c7fe793d7f97bd45372e90f3bb8
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-check.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 290a98c97c2..ce41ea91012 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -3613,16 +3613,16 @@ scanners/lexers/tokenizers.")
(define-public go-mvdan-cc-unparam
(package
(name "go-mvdan-cc-unparam")
- (version "0.0.0-20240528143540-8a5130ca722f")
+ (version "0.0.0-20251027182757-5beb8c8f8f15")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/mvdan/unparam")
- (commit (go-version->git-ref version))))
+ (url "https://github.com/mvdan/unparam")
+ (commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0qrwszcmb5slbzkq3acw57b896z22zwkv6cf6ldxwlc6p179g009"))))
+ (base32 "16gk6bb0ahm1qpsdq4ma93yqbv77n354i1gss71ada6i248pc6az"))))
(build-system go-build-system)
(arguments
(list
@@ -3634,14 +3634,15 @@ scanners/lexers/tokenizers.")
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(for-each delete-file
- (list "testdata/script/usedas.txtar"
+ (list "testdata/script/impl.txtar"
+ "testdata/script/paramuses.txtar"
"testdata/script/stubs.txtar"
- "testdata/script/impl.txtar"
- "testdata/script/paramuses.txtar"))))))))
+ "testdata/script/typealias.txtar"
+ "testdata/script/usedas.txtar"))))))))
+ (native-inputs
+ (list go-github-com-rogpeppe-go-internal-1.14))
(propagated-inputs
- (list go-github-com-pkg-diff
- go-github-com-rogpeppe-go-internal
- go-golang-org-x-tools))
+ (list go-golang-org-x-tools))
(home-page "https://mvdan.cc/unparam/")
(synopsis "Find unused parameters in Go")
(description