* [bug#52915] [PATCH] gnu: Add go-github-com-mvdan-gofumpt.
@ 2021-12-31 14:54 Philip Kaludercic
2022-08-13 14:25 ` [bug#52915] Sharlatan Hellseher
2023-09-01 21:58 ` bug#52915: [PATCH] gnu: Add go-github-com-mvdan-gofumpt Vagrant Cascadian
0 siblings, 2 replies; 4+ messages in thread
From: Philip Kaludercic @ 2021-12-31 14:54 UTC (permalink / raw)
To: 52915; +Cc: Philip Kaludercic
* 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#52915]
2021-12-31 14:54 [bug#52915] [PATCH] gnu: Add go-github-com-mvdan-gofumpt Philip Kaludercic
@ 2022-08-13 14:25 ` Sharlatan Hellseher
2022-08-13 21:28 ` [bug#52915] ( via Guix-patches via
2023-09-01 21:58 ` bug#52915: [PATCH] gnu: Add go-github-com-mvdan-gofumpt Vagrant Cascadian
1 sibling, 1 reply; 4+ messages in thread
From: Sharlatan Hellseher @ 2022-08-13 14:25 UTC (permalink / raw)
To: 52915
Hi Guix team!
Is there any objection to accept this package?
It's a part of inputs for Golang language server
https://pkg.go.dev/golang.org/x/tools/gopls which would nice to have
in Guix!
--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#52915]
2022-08-13 14:25 ` [bug#52915] Sharlatan Hellseher
@ 2022-08-13 21:28 ` ( via Guix-patches via
0 siblings, 0 replies; 4+ messages in thread
From: ( via Guix-patches via @ 2022-08-13 21:28 UTC (permalink / raw)
To: Sharlatan Hellseher, 52915
On Sat Aug 13, 2022 at 3:25 PM BST, Sharlatan Hellseher wrote:
> Is there any objection to accept this package?
> It's a part of inputs for Golang language server
> https://pkg.go.dev/golang.org/x/tools/gopls which would nice to have
> in Guix!
Huh? I've been able to package gopls without it: <https://issues.guix.gnu.org/56908>.
-- (
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#52915: [PATCH] gnu: Add go-github-com-mvdan-gofumpt.
2021-12-31 14:54 [bug#52915] [PATCH] gnu: Add go-github-com-mvdan-gofumpt Philip Kaludercic
2022-08-13 14:25 ` [bug#52915] Sharlatan Hellseher
@ 2023-09-01 21:58 ` Vagrant Cascadian
1 sibling, 0 replies; 4+ messages in thread
From: Vagrant Cascadian @ 2023-09-01 21:58 UTC (permalink / raw)
To: Philip Kaludercic, 52915-done
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-01 21:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-31 14:54 [bug#52915] [PATCH] gnu: Add go-github-com-mvdan-gofumpt Philip Kaludercic
2022-08-13 14:25 ` [bug#52915] Sharlatan Hellseher
2022-08-13 21:28 ` [bug#52915] ( via Guix-patches via
2023-09-01 21:58 ` bug#52915: [PATCH] gnu: Add go-github-com-mvdan-gofumpt Vagrant Cascadian
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).