summary refs log tree commit diff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorKatherine Cox-Buday <cox.katherine.e@gmail.com>2023-01-17 18:45:03 -0700
committerChristopher Baines <mail@cbaines.net>2023-02-07 00:05:54 +0100
commitcfbd6e90a0c9a284060cdde278f38b3ab4b0bae1 (patch)
tree1c761caaabdb5a48a3b7265bade50e5508bb8adb /gnu/packages/golang.scm
parent347ac7fbdec6147744efea4d35c2758059a0fa83 (diff)
downloadguix-cfbd6e90a0c9a284060cdde278f38b3ab4b0bae1.tar.gz
gnu: Add go-mvdan-cc-unparam.
* gnu/packages/golang.scm (go-mvdan-cc-unparam): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm14
1 files changed, 14 insertions, 0 deletions
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 @@ atomic access.")
     (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")