From patchwork Fri Jul 7 13:28:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: ~rdesfo X-Patchwork-Id: 51621 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 7994527BBEA; Fri, 7 Jul 2023 15:29:22 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 1F80D27BBE2 for ; Fri, 7 Jul 2023 15:29:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHmSG-00045R-Kx; Fri, 07 Jul 2023 10:29:04 -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 1qHmSE-000453-BU for guix-patches@gnu.org; Fri, 07 Jul 2023 10:29:02 -0400 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 1qHmSE-0001mM-3O for guix-patches@gnu.org; Fri, 07 Jul 2023 10:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHmSD-0000O5-Ua for guix-patches@gnu.org; Fri, 07 Jul 2023 10:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64513] [PATCH guix] gnu: Add git-issue. Resent-From: ~rdesfo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Jul 2023 14:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64513 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64513@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16887400841421 (code B ref -1); Fri, 07 Jul 2023 14:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2023 14:28:04 +0000 Received: from localhost ([127.0.0.1]:43586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHmRI-0000Mr-8S for submit@debbugs.gnu.org; Fri, 07 Jul 2023 10:28:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:59496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHmRE-0000Lz-UG for submit@debbugs.gnu.org; Fri, 07 Jul 2023 10:28:02 -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 1qHmRD-0003tS-K2 for guix-patches@gnu.org; Fri, 07 Jul 2023 10:27:59 -0400 Received: from mail-b.sr.ht ([173.195.146.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHmRA-0001VI-8z for guix-patches@gnu.org; Fri, 07 Jul 2023 10:27:59 -0400 Authentication-Results: mail-b.sr.ht; dkim=none Received: from git.sr.ht (unknown [173.195.146.142]) by mail-b.sr.ht (Postfix) with ESMTPSA id 408CC11EEE2 for ; Fri, 7 Jul 2023 14:27:54 +0000 (UTC) From: ~rdesfo Date: Fri, 07 Jul 2023 09:28:26 -0400 Message-ID: <168874007410.6332.11480896758073036778-0@git.sr.ht> X-Mailer: git.sr.ht MIME-Version: 1.0 Received-SPF: pass client-ip=173.195.146.151; envelope-from=outgoing@sr.ht; helo=mail-b.sr.ht X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_REPLYTO=2.095, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Reply-To: ~rdesfo 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 From: Ryan Desfosses gnu/packages/version-control.scm (git-issue): New variable. --- gnu/packages/version-control.scm | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 40b9e124d2..c097b9cae3 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2022 Dhruvin Gandhi ;;; Copyright © 2015, 2022 David Thompson ;;; Copyright © 2023 Nicolas Graves +;;; Copyright © 2023 Ryan Desfosses ;;; ;;; This file is part of GNU Guix. ;;; @@ -3629,3 +3630,36 @@ create and manage trackers, tickets interact with GraphQL APIs directly @end table") (license license:agpl3))) + +(define-public git-issue + (let ((commit "4d2bc4173bf803d74bf2ae54f892bd08754f1b48") + (revision "0")) + (package + (name "git-issue") + (version (git-version "4d2bc41" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dspinellis/git-issue") + (commit commit))) + (sha256 + (base32 + "0jmx8wjvvxkd3y5im2h96d13dnbpds66djf96b6s23jwfbr7dlsz")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-installation-target + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("/usr") out))))) + (delete 'configure) + (delete 'check)))) + (inputs (list jq curl)) + (synopsis "Git-based decentralized issue management") + (description "This is a minimalist decentralized issue management system +based on Git, offering (optional) biderectional integration with GitHub and +GitLab issue management. It has the following advantages over other systems.") + (home-page "https://github.com/dspinellis/git-issue") + (license license:gpl3+))))