From 3b223b8e915c437215f8770649eb506af03f839d Mon Sep 17 00:00:00 2001 From: Katherine Cox-Buday Date: Tue, 17 Jan 2023 18:45:09 -0700 Subject: [PATCH] gnu: Add go-mvdan-cc-gofumpt. * gnu/packages/golang.scm (go-mvdan-cc-gofumpt): 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 2b16eb786f..4478ade953 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9980,6 +9980,20 @@ That is, @code{gofumpt} is happy with a subset of the formats that @code{gofmt} is happy with.") (license license:bsd-3))) +(define-public go-mvdan-cc-gofumpt + (package + (inherit gofumpt) + (name "go-mvdan-cc-gofumpt") + (arguments + `(#:import-path "mvdan.cc/gofumpt" + #:tests? #f + #:install-source? #t + #:phases (modify-phases %standard-phases + (delete 'build)))) + (propagated-inputs (package-inputs gofumpt)) + (native-inputs '()) + (inputs '()))) + (define-public unparam (package (name "unparam")