GNU bug report logs -
#52915
[PATCH] gnu: Add go-github-com-mvdan-gofumpt.
Previous Next
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Fri, 31 Dec 2021 14:56:01 UTC
Severity: normal
Tags: patch
Done: Vagrant Cascadian <vagrant <at> debian.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#52915: [PATCH] gnu: Add go-github-com-mvdan-gofumpt.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 52915 <at> debbugs.gnu.org.
--
52915: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52915
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
On 2021-12-31, Philip Kaludercic wrote:
> +(define-public go-github-com-mvdan-gofumpt
> + (package
> + (name "go-github-com-mvdan-gofumpt")
> + (version "0.2.1")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/mvdan/gofumpt")
> + (commit (string-append "v" version))))
This appears to have been packaged as gofumpt and go-mvdan-cc-gofumpt:
3b223b8e915c437215f8770649eb506af03f839d gnu: Add go-mvdan-cc-gofumpt.
15330b625ae928d6b94b5dc4515fa65e7e192cc1 gnu: Add gofumpt.
Marking as done.
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
* golang.scm (go-github-com-mvdan-gofumpt): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1223887bf2..d289bd54ad 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8846,3 +8846,35 @@ (define-public go-github-com-arceliar-ironwood
@url{https://github.com/yggdrasil-network/yggdrasil-go,Yggdrasil}, but it may
be useful for other network applications.")
(license license:mpl2.0)))
+
+(define-public go-github-com-mvdan-gofumpt
+ (package
+ (name "go-github-com-mvdan-gofumpt")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mvdan/gofumpt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rczlicfvvhvx8l3ngcd04mjam80mb5ay0vrim9w2max04kyairn"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/mvdan/gofumpt"))
+ (propagated-inputs
+ `(("go-golang-org-x-tools" ,go-golang-org-x-tools)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-golang-org-x-mod" ,go-golang-org-x-mod)
+ ("go-github-com-rogpeppe-go-internal"
+ ,go-github-com-rogpeppe-go-internal)
+ ("go-github-com-google-go-cmp" ,go-github-com-google-go-cmp)
+ ("go-github-com-frankban-quicktest"
+ ,go-github-com-frankban-quicktest)))
+ (home-page "https://github.com/mvdan/gofumpt")
+ (synopsis "gofumpt")
+ (description
+ "Enforce a stricter format than @code{gofmt}, while being backwards compatible.
+That is, @code{gofumpt} is happy with a subset of the formats that @code{gofmt}
+is happy with.")
+ (license license:bsd-3)))
--
2.34.0
This bug report was last modified 1 year and 326 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.