From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 3N/mBBUaz2EWEAAAgWs5BA (envelope-from ) for ; Fri, 31 Dec 2021 15:56:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EBBmARUaz2ESUQAA9RJhRA (envelope-from ) for ; Fri, 31 Dec 2021 15:56:21 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5A43D34EAB for ; Fri, 31 Dec 2021 15:56:20 +0100 (CET) Received: from localhost ([::1]:41080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3JKN-0001yc-87 for larch@yhetil.org; Fri, 31 Dec 2021 09:56:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3JK6-0001yE-Ap for guix-patches@gnu.org; Fri, 31 Dec 2021 09:56:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3JK6-0004Ep-1N for guix-patches@gnu.org; Fri, 31 Dec 2021 09:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3JK5-0001GS-TV for guix-patches@gnu.org; Fri, 31 Dec 2021 09:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52915] [PATCH] gnu: Add go-github-com-mvdan-gofumpt. Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Dec 2021 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52915 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52915@debbugs.gnu.org Cc: Philip Kaludercic X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16409625042973 (code B ref -1); Fri, 31 Dec 2021 14:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Dec 2021 14:55:04 +0000 Received: from localhost ([127.0.0.1]:55473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3JJA-0000ls-Hg for submit@debbugs.gnu.org; Fri, 31 Dec 2021 09:55:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:42596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3JJ8-0000lk-Fl for submit@debbugs.gnu.org; Fri, 31 Dec 2021 09:55:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3JJ8-0001px-4I for guix-patches@gnu.org; Fri, 31 Dec 2021 09:55:02 -0500 Received: from mout01.posteo.de ([185.67.36.65]:37691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3JJ5-0002jD-Qe for guix-patches@gnu.org; Fri, 31 Dec 2021 09:55:01 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id AD8E7240027 for ; Fri, 31 Dec 2021 15:54:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640962497; bh=XlI2e2K+zzKy9V5TfWZeB41moiCuSZdptTNFIoXspc8=; h=From:To:Cc:Subject:Date:From; b=JlU9HQ87Atw8jJx9loxv1KDD4gJyHERQtUBMpZC5jpNiM3iuZ0Svz6gX+0ZRjIO/A i3htcpU7l42WsTXJYMsPyjhKuejvQGe1TSpSCJZhipqSNVfbVj6kFyrNZrHkuUAQmJ Zu3B/evyFbnzWcQH1pqk3VCiDaqiKwFAGYagPuqps8fhY129fbpAc5Uupd5p/HCLma IsV+9dUo7tfWBniXf0uKG23kp/lmYjdV+HRZR3egYENKib8iVQLZNniaKucUBV7vpd 8EPFqdsHaN67jPkhvdE6ykGmQmovUs2NM0+dvqURQ6NYiSzkhwpLednqiyoqn7Gu3n oI8E+fEO0OaMg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JQSq51qTBz9rxF; Fri, 31 Dec 2021 15:54:57 +0100 (CET) From: Philip Kaludercic Date: Fri, 31 Dec 2021 14:54:44 +0000 Message-Id: <20211231145444.5676-1-philipk@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640962580; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=efS+A1qQZ8hUoR6VSa+U3gnlpCiCzi7WGqg5lV6BTLw=; b=WK38XVGoj62tnIFmxnNW99onL8nC9Av4dVIHJq9R9Z4IS3smx+mfobcS3paXwW4NMNwUi7 f4GXMfjC539lkwHX7kyDbsPf4MXZfdCUaQGV5vypAG3oJSvYNWcwzDFyoiMsLyh733+p9l AimQreL0sCdf0x4Nx3H2d1RMyO4uH61rFLNwmKRZLtAG4yfXv22iKeHyhMmt2NSKOeB8g4 sQv2riDmH1p1FUBYyvQ7Tjt/B1R4GqMxGYaYiapVbvfh8DbLnct+bNVmG3zvjUBoWSKzQo CFvnlA5Vb0G3fyvOSOaAD76K9jdRqtz1I/lgiNWOu5lc+XocIJE2CTwPduOJXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640962580; a=rsa-sha256; cv=none; b=dkrQxNy6/KjylPsr/AkiRSBf0drAanAiqkRwOAmxiWNrYbMgXXj4j2NHn+9STlweU4iIEt zj0jPEgg7qY+9OjOD83Ff95nFkU6kbAjJh2sg9FUMAe2g2LKFmoAZ74BSaEWLKK95A3vlr Xl/wDkzww/oolSelnzDccagOrxub/Q65mhhVOxkBJysyZQiD14b1O/N4qLX0A1HHTTeKPn 7bM8WkFKQEnvzKqov78K9u+QttI6phgO8s9yivL8wjgo5tuHMO4UuI/6nW9QdBMd4lYYDf jIgvpV6/D0Qr4zGSPun6hF77YH3/YjaH5FR9bpuD/cYmfRi01o53z0ZikJorBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=JlU9HQ87; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=JlU9HQ87; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5A43D34EAB X-Spam-Score: -0.88 X-Migadu-Scanner: scn1.migadu.com X-TUID: gf/gL6adW9ro * 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