From patchwork Thu Oct 19 01:29:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 54995 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 105D927BBEA; Wed, 18 Oct 2023 23:33:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1FECE27BBE2 for ; Wed, 18 Oct 2023 23:33:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtF4W-0004YO-4x; Wed, 18 Oct 2023 18:31:25 -0400 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 1qtF3u-0003y0-Js for guix-patches@gnu.org; Wed, 18 Oct 2023 18:30:46 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtF3u-00036y-As for guix-patches@gnu.org; Wed, 18 Oct 2023 18:30:46 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtF4K-0002Lq-Ft; Wed, 18 Oct 2023 18:31:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66619] [PATCH 16/19] gnu: go-honnef-co-go-tools: Move to (gnu packages golang-check). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 18 Oct 2023 22:31:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66619@debbugs.gnu.org Cc: Sharlatan Hellseher , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 66619-submit@debbugs.gnu.org id=B66619.16976682698771 (code B ref 66619); Wed, 18 Oct 2023 22:31:12 +0000 Received: (at 66619) by debbugs.gnu.org; 18 Oct 2023 22:31:09 +0000 Received: from localhost ([127.0.0.1]:34970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtF4F-0002Fr-Hy for submit@debbugs.gnu.org; Wed, 18 Oct 2023 18:31:08 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:58829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtF3m-0001S9-Tk for 66619@debbugs.gnu.org; Wed, 18 Oct 2023 18:30:40 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40842752c6eso3922235e9.1 for <66619@debbugs.gnu.org>; Wed, 18 Oct 2023 15:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697668207; x=1698273007; darn=debbugs.gnu.org; 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=KWp0RQUVe9ShhIP5X3GNa6VLnLy2U1ZY04p9Q6WHo5E=; b=Flpjrcy3TDJVDP1KRno0CqFHKqwKLS4gbkOK7wmzrqRfdxdCFoxjD+7qvJqX9fkLZX vqL5fCdDbLGcGxulrImkNE7fhkZy3zi/sgUvCTvD/WWNZueFoX6ge+S1Yj0GJK8hKxMk SKss2B0Bb8lpw0RfYW4Lr+zEZXwveGCqt2Iw40hfegKX20+j1ZKfNW3UQ988Eoa0U/Kh KPPn7cOCu20oVVxLorU0skX373/4oFAWz0P1mxwIQvO4ArRUsUt9M1xtUha3hlV5RaTw IRkTU1NaZRSV4q/FSzSgJShLVq2uPNZxiXloYfc2X7e4KJcP0s9tt9AlkkmhoxdNnPf4 pTaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697668207; x=1698273007; 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=KWp0RQUVe9ShhIP5X3GNa6VLnLy2U1ZY04p9Q6WHo5E=; b=Zi5PQ388g3bvgHx7GZO+2hirbgJ0GCc39LJaHFleTZcpLK4yN+RmUj2nIKtzuGpTma ePU4a0SnhEQ5FWZlpqZSO9GPsYkQ7IMt7SGa3ai73GVzgZe15AE0zrqVCXdP1xFPSfXi WT8Xec8KaxauighkqEeVeVN8/3rQV4cU/JeLh3fiPjb+pFaUkVUze2qyfYKW0mdXAi8N mI2rbRZJkHZJw9oQXmgZa9BQZ+JzewtK4e5WizwjVdXa0dgVeiMWzIh3etxtxg5erq1A He3g1x00sewAoDpmS+8zr9ruU6+wM0cUzpF2R0Kz1hAOGvIA49/u9RO+xIPun8BtY5g+ iE1w== X-Gm-Message-State: AOJu0YyBFfHyIx2sl8Gn0H7/THxQCbXQWi/SbZWm3+sQVgpmpNyUD6ve GvfDgD+b/1/0+q7cS9mb+J4hWNxIft1ykA== X-Google-Smtp-Source: AGHT+IHER/fKIL+/dw6c6LHqVgLlvPJOnT4VibjS7vR9kaZe5K2CaZz6n6vF64X9XOgrBP8sgyigNA== X-Received: by 2002:a05:600c:3594:b0:407:8e85:899f with SMTP id p20-20020a05600c359400b004078e85899fmr471961wmq.16.1697668206814; Wed, 18 Oct 2023 15:30:06 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id x6-20020a5d6506000000b0032d886039easm3032951wru.14.2023.10.18.15.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 15:30:06 -0700 (PDT) From: Sharlatan Hellseher Date: Thu, 19 Oct 2023 02:29:09 +0100 Message-ID: <2c59da6a5b7158ba1ca65e7fa74ceafdc33bc41e.1697678664.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-check.scm (go-honnef-co-go-tools): Move from here... * gnu/packages/golang.scm: ... to here. --- gnu/packages/golang-check.scm | 36 +++++++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 31 ------------------------------ 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index ce4afe64ac..011198231d 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Joseph LaFreniere ;;; Copyright © 2020 Ryan Prior +;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Sarah Morgensen ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2022 ( @@ -45,6 +46,41 @@ (define-module (gnu packages golang-check) ;;; ;;; Code: +(define-public go-honnef-co-go-tools + (package + (name "go-honnef-co-go-tools") + (version "0.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dominikh/go-tools") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "099z04v7vvwwglnps315s9fmal68xvzlc1g8m26iqi980grbwn32")))) + (build-system go-build-system) + (arguments + `(#:import-path "honnef.co/go/tools" + #:tests? #f + ;; Source-only package + #:phases (modify-phases %standard-phases + (delete 'build)))) + (propagated-inputs + (list go-github-com-burntsushi-toml + go-github-com-kisielk-gotool + go-golang-org-x-exp + go-golang-org-x-mod + go-golang-org-x-tools)) + (home-page "https://honnef.co/go/tools") + (synopsis "Staticcheck advanced Go linter") + (description + "Staticcheck is a state of the art linter for the Go programming language. +Using static analysis, it finds bugs and performance issues, offers +simplifications, and enforces style rules.") + (license license:expat))) + (define-public go-github-com-cheekybits-is (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9") (revision "0")) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3ff544a67b..2503fca0b6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11529,37 +11529,6 @@ (define-public go-github-com-kisielk-gotool tools with similar semantics.") (license license:expat))) -(define-public go-honnef-co-go-tools - (package - (name "go-honnef-co-go-tools") - (version "0.3.3") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/dominikh/go-tools") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "099z04v7vvwwglnps315s9fmal68xvzlc1g8m26iqi980grbwn32")))) - (build-system go-build-system) - (arguments - `(#:import-path "honnef.co/go/tools" - #:tests? #f - ;; Source-only package - #:phases (modify-phases %standard-phases - (delete 'build)))) - (propagated-inputs (list go-golang-org-x-exp go-golang-org-x-tools - go-golang-org-x-mod go-github-com-kisielk-gotool - go-github-com-burntsushi-toml)) - (home-page "https://honnef.co/go/tools") - (synopsis "Staticcheck advanced Go linter") - (description - "Staticcheck is a state of the art linter for the Go programming language. -Using static analysis, it finds bugs and performance issues, offers -simplifications, and enforces style rules.") - (license license:expat))) - (define-public go-go-uber-org-zap (package (name "go-go-uber-org-zap")