From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id j/dqA9NPx2P0JAAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 02:48:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6IuEAtNPx2MGGQAA9RJhRA (envelope-from ) for ; Wed, 18 Jan 2023 02:48:03 +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 D9E8C449CA for ; Wed, 18 Jan 2023 02:48:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHxWt-0002sN-Na; Tue, 17 Jan 2023 20:46:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHxWo-0002jG-Q6 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxWo-0007CG-Gs for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHxWo-0007dE-CZ for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60916] [PATCH 17/25] gnu: Add unparam. Resent-From: Katherine Cox-Buday Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jan 2023 01:46:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60916 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60916@debbugs.gnu.org Cc: Katherine Cox-Buday X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167400635729003 (code B ref -1); Wed, 18 Jan 2023 01:46:14 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2023 01:45:57 +0000 Received: from localhost ([127.0.0.1]:38641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxWW-0007Xd-Fc for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:44490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxW6-0007V1-3I for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHxW4-00029I-NU for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:29 -0500 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxW2-00071U-U8 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:28 -0500 Received: by mail-io1-xd33.google.com with SMTP id h184so6376604iof.9 for ; Tue, 17 Jan 2023 17:45:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RoPG4lfUg5q3D3LjNFsBgwnb5J2/nuvkKNygLX64HaM=; b=ktnTqSUeUfS86kGOrXbYpJfMOppqVLsAexgnrj7eQ/D+h5pz9SpUc3BPIS6/4F81nO E20kOsfOATiMrjjM7JXFhUsBkORXxl/h9OImddTT7lKJ0xk+h7kIeSuKcGz0oXEMFlB+ e3wPaiURoI5cKMdKY8pUWg6Llzob83yvUBZ3aUyN1DGRqE2U8z2bP82nqNQX/loW6mc0 Wi5+rbEBJg5+ZILnKxbUhQCB1qVdc7wOxIm6ufNiJBcEUM9zhBun/r40Kx9KUeUBP74m NN+KGy35fdjnUao6mR1lb/O1Z8nxIFd21LIwtz1m8Ve6it5Ul8NIHPu0tS5+m8Y4V8o7 NjYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RoPG4lfUg5q3D3LjNFsBgwnb5J2/nuvkKNygLX64HaM=; b=eyTXTyZP07T/SYQRThAPjHUuWyTuOH/InPNpMOKcFJKkMHsiwawVzfYnJJP16VCjUf ihHXiAV4T6fIqIb/Oe1sEYf56ofQZXquzmeNt/kmKN1e0/KlRqQISvIDUmC6CINkUU2J G0A97g/U67vfy5jM+ALxAUq5QkOEeOG/ckvLN9u/lSVf6eI/9z0OWxYq1yHoWhMIbV7I kBBtRfrUte0PHA2kVGYOVpcMTbTtfY9bYBFbKq6Nzq0trkjJo+uhs8swicLJ6QkT4y0B M5qlycMb11gXM8Lrt9CU48fTaAOVdWG9F6/H2rLLtag3SuLH3ZeUZ3Yjl/grBLIT7FH+ 8j9g== X-Gm-Message-State: AFqh2kqBbJOQr6ioXm0ZClDM4JbPO6q1YPxuEM0tDttA9sLfSEQy5PgE xPvkg0oBUsfr1vgpBJZVakuLd/gwLP4= X-Google-Smtp-Source: AMrXdXtE65YYcSj7P4UzbcXGuezZ94zrYZ38iDVy2HINNGXbirDWbrxCT2kHlq662U6Cpjorg30jrA== X-Received: by 2002:a5d:9c12:0:b0:6e1:58c5:9dc with SMTP id 18-20020a5d9c12000000b006e158c509dcmr4143095ioe.6.1674006324756; Tue, 17 Jan 2023 17:45:24 -0800 (PST) Received: from washu-v4.home.cox-buday.com (c-174-51-139-101.hsd1.co.comcast.net. [174.51.139.101]) by smtp.gmail.com with ESMTPSA id p32-20020a056638192000b0039e89ea68f9sm7889250jal.135.2023.01.17.17.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:45:24 -0800 (PST) From: Katherine Cox-Buday Date: Tue, 17 Jan 2023 18:45:02 -0700 Message-Id: <20230118014510.19320-18-cox.katherine.e@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230118014510.19320-1-cox.katherine.e@gmail.com> References: <20230118014510.19320-1-cox.katherine.e@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::d33; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd33.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674006482; a=rsa-sha256; cv=none; b=vAvoUUiwX7fKDIztRp7vvE2VJ7gCHY5H4Yl1bpp/RZe56Uc1Urcai45VmpN0Yy51x7bTNh tUDTkxpnZi5WbFqGWiksULHBm8F85FAbiKIcyrIFdJH5FuvWthx3VE5kZOBwr2wRrseJ5S 22Huo7aNVnFDzUZ+r+9quawsl2l5FY/F1M6SOZjjXfpqLVOtXNqW1BGeJOJ0RrO4b36XZz hRWbcwFyLCT0WZg8Y5Od2BQyYnTXsXJKvMCb/aP/AXJy6ZDvwK0UE5cbYNgrYcs2l2Sn04 zHgvGIC3NLafhO9fj2/yYWxm7NCEsetmKGBWDUTeNJ0zVr5QjLx7joBbPF7Sww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ktnTqSUe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674006482; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RoPG4lfUg5q3D3LjNFsBgwnb5J2/nuvkKNygLX64HaM=; b=SHZGQhZOzZbwKVtoTPRXYo+w9uVlF4Y4Jsdyv9n7ximLbppl84v/uh3l/c/37CnC+czpvd iZDeGfXFEQrnSogLWFh53/fMX+fTCXTlOjQbzpyVxrZb4LHYoAXBO1HucDyhzDs4TkADSy hZ6JD+bItC/NL9Du6PoUayTgoly/n5iU5A9O0dUJSkm7D18qyUuFwoZtUNFYdMC7ZHu13W GyCAUrL3t9Wud9nf18C8reovlwkfrKbT0Xf5zsuJ28cm4oz7h6jB9+S0ivriBmjHBgZONs HWh1i5gPLvJXssTUndOJmtvbwdI7WpytC/G+yPiiMZPwclZ5iv8Ggp7EU3Wrlg== X-Spam-Score: 4.57 X-Migadu-Queue-Id: D9E8C449CA Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ktnTqSUe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 4.57 X-TUID: eHtbh92CWRew * gnu/packages/golang.scm (unparam): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ced6438581..d980026a70 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9803,6 +9803,31 @@ (define-public go-go-uber-org-multierr "@code{multierr} allows combining one or more Go errors together.") (license license:expat))) +(define-public unparam + (package + (name "unparam") + (version "0.0.0-20221223090309-7455f1af531d") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mvdan/unparam") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wynf0b32azxljncw5fh9bwkxpdflvf9q1z16wyj432566yjh12c")))) + (build-system go-build-system) + (arguments + `(#:import-path "mvdan.cc/unparam" + #:go ,go-1.19)) + (inputs (list go-golang-org-x-sys go-golang-org-x-mod + go-github-com-pkg-diff go-golang-org-x-tools + go-github-com-rogpeppe-go-internal)) + (home-page "https://mvdan.cc/unparam/") + (synopsis "Find unused parameters in Go") + (description "Reports unused function parameters and results in Go code.") + (license license:bsd-3))) + (define-public xurls (package (name "xurls") -- 2.38.1