GNU bug report logs - #52915
[PATCH] gnu: Add go-github-com-mvdan-gofumpt.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52915 in the body.
You can then email your comments to 52915 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52915; Package guix-patches. (Fri, 31 Dec 2021 14:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philip Kaludercic <philipk <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 31 Dec 2021 14:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Philip Kaludercic <philipk <at> posteo.net>
Subject: [PATCH] gnu: Add go-github-com-mvdan-gofumpt.
Date: Fri, 31 Dec 2021 14:54:44 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#52915; Package guix-patches. (Sat, 13 Aug 2022 14:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 52915 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 52915 <at> debbugs.gnu.org
Date: Sat, 13 Aug 2022 15:25:25 +0100
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!

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

Information forwarded to guix-patches <at> gnu.org:
bug#52915; Package guix-patches. (Sat, 13 Aug 2022 21:29:01 GMT) Full text and rfc822 format available.

Message #11 received at 52915 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Sharlatan Hellseher" <sharlatanus <at> gmail.com>, <52915 <at> debbugs.gnu.org>
Subject: Re: [bug#52915]
Date: Sat, 13 Aug 2022 22:28:20 +0100
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>.

    -- (




Reply sent to Vagrant Cascadian <vagrant <at> debian.org>:
You have taken responsibility. (Fri, 01 Sep 2023 21:59:02 GMT) Full text and rfc822 format available.

Notification sent to Philip Kaludercic <philipk <at> posteo.net>:
bug acknowledged by developer. (Fri, 01 Sep 2023 21:59:02 GMT) Full text and rfc822 format available.

Message #16 received at 52915-done <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: Philip Kaludercic <philipk <at> posteo.net>, 52915-done <at> debbugs.gnu.org
Subject: Re: [bug#52915] [PATCH] gnu: Add go-github-com-mvdan-gofumpt.
Date: Fri, 01 Sep 2023 14:58:02 -0700
[Message part 1 (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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Sep 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.