From patchwork Fri Nov 18 12:25:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthew James Kraai X-Patchwork-Id: 44598 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 51D8827BBEC; Fri, 18 Nov 2022 12:27:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 0EC3A27BBE9 for ; Fri, 18 Nov 2022 12:27:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow0Se-0003x9-8v; Fri, 18 Nov 2022 07:27:12 -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 1ow0SU-0003vM-VG for guix-patches@gnu.org; Fri, 18 Nov 2022 07:27:07 -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 1ow0SU-0005gw-Mt for guix-patches@gnu.org; Fri, 18 Nov 2022 07:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow0SU-0005mo-IC for guix-patches@gnu.org; Fri, 18 Nov 2022 07:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59357] [PATCH] gnu: Add delve. Resent-From: Matthew James Kraai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Nov 2022 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59357 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59357@debbugs.gnu.org Cc: Matthew James Kraai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166877438322157 (code B ref -1); Fri, 18 Nov 2022 12:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2022 12:26:23 +0000 Received: from localhost ([127.0.0.1]:35583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow0Rq-0005lJ-MD for submit@debbugs.gnu.org; Fri, 18 Nov 2022 07:26:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:33696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow0Rn-0005l9-BG for submit@debbugs.gnu.org; Fri, 18 Nov 2022 07:26:21 -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 1ow0Rf-0003kH-7o for guix-patches@gnu.org; Fri, 18 Nov 2022 07:26:13 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow0R2-0005Hx-NW for guix-patches@gnu.org; Fri, 18 Nov 2022 07:25:34 -0500 Received: (Authenticated sender: kraai@ftbfs.org) by mail.gandi.net (Postfix) with ESMTPA id 356E5C0003; Fri, 18 Nov 2022 12:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftbfs.org; s=gm1; t=1668774310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PFAkZ0xcLqXYI3SssXo8HHi0YHd6Y4/28BSvWNOMt5Q=; b=F5LFrBwnp6heFN+MAwq7h/eGRTdGiBdeCuL4YsZBA1EEr5LvoK2z98leFoWd9vicgo4nVQ uhuB/RbfLjNZgneCluRF9b8UTtSSpzDwdewseNfL66dQOemPB1XbB70qoyl8fkOjOA7vYJ Ah43nPi0mToj2mcLnRXPlCl0Q3EURolF7U0M6FUb/9EjbnEcVX0fGO/sxNpAVdhw2X92tO 3Tx5pgCJtFd/cY3OF9/WteRz+eMWfrgyc5k6wTsaDSV/6VZA3pNOfv1Qq8i1yDTf3/DG6Q d284ntbsDZzsFuyb1CYX76Kb7QvClEyjG4jSoF6aC2bruVPQ9FwsTyyVq6jYmQ== From: Matthew James Kraai Date: Fri, 18 Nov 2022 04:25:06 -0800 Message-Id: <20221118122506.26095-1-kraai@ftbfs.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.183.198; envelope-from=kraai@ftbfs.org; helo=relay6-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/debug.scm (delve): New variable. --- gnu/packages/debug.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index 0c7f97b386..f06e869efe 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022 Michael Rohleder +;;; Copyright © 2022 Matthew James Kraai ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,6 +35,8 @@ (define-module (gnu packages debug) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system go) + #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages attr) #:use-module (gnu packages autotools) @@ -856,3 +859,29 @@ (define-public seer-gdb (home-page "https://github.com/epasveer/seer") ;; Note: Some icons in src/resources are creative commons 3.0 and/or 4.0. (license license:gpl3+))) + +(define-public delve + (package + (name "delve") + (version "1.9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-delve/delve") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07jch3yd1pgqviyy18amn23gazbzi7l51f210c3vmc707v3vbbqr")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/go-delve/delve/cmd/dlv" + #:unpack-path "github.com/go-delve/delve" + #:install-source? #f + #:phases #~(modify-phases %standard-phases (delete 'check)))) + (propagated-inputs (list go)) + (home-page "https://github.com/go-delve/delve") + (synopsis "Debugger for the Go programming language") + (description "Delve is a debugger for the Go programming language.") + (license license:expat)))