guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

24/25: gnu: Add go-mvdan-cc-gofumpt.


From: guix-commits
Subject: 24/25: gnu: Add go-mvdan-cc-gofumpt.
Date: Mon, 6 Feb 2023 18:06:22 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 3b223b8e915c437215f8770649eb506af03f839d
Author: Katherine Cox-Buday <cox.katherine.e@gmail.com>
AuthorDate: Tue Jan 17 18:45:09 2023 -0700

    gnu: Add go-mvdan-cc-gofumpt.
    
    * gnu/packages/golang.scm (go-mvdan-cc-gofumpt): New variable.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]