From cfbd6e90a0c9a284060cdde278f38b3ab4b0bae1 Mon Sep 17 00:00:00 2001 From: Katherine Cox-Buday Date: Tue, 17 Jan 2023 18:45:03 -0700 Subject: [PATCH] gnu: Add go-mvdan-cc-unparam. * gnu/packages/golang.scm (go-mvdan-cc-unparam): New variable. Signed-off-by: Christopher Baines --- gnu/packages/golang.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 17ba262804..270c94068f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9873,6 +9873,20 @@ (define-public unparam (description "Reports unused function parameters and results in Go code.") (license license:bsd-3))) +(define-public go-mvdan-cc-unparam + (package + (inherit unparam) + (name "go-mvdan-cc-unparam") + (arguments + `(#:import-path "github.com/mvdan/unparam" + #:tests? #f + #:install-source? #t + #:phases (modify-phases %standard-phases + (delete 'build)))) + (propagated-inputs (package-inputs unparam)) + (native-inputs '()) + (inputs '()))) + (define-public xurls (package (name "xurls")