This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new de3113a789 gnu: Add git-issue.
de3113a789 is described below

commit de3113a789d25bbdfd063646da4124eb63737b09
Author: Ryan Desfosses <r...@desfo.org>
AuthorDate: Mon Feb 24 01:41:56 2025 +0100

    gnu: Add git-issue.
    
    * gnu/packages/version-control.scm (git-issue): New variable.
    
    Change-Id: I24e5339f033e5321b4ce81f861fd9b412251e974
    Signed-off-by: Nicolas Goaziou <m...@nicolasgoaziou.fr>
---
 gnu/packages/version-control.scm | 49 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 48 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index fce3a92a0b..e67d8f7838 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2023 Josselin Poiret <d...@jpoiret.xyz>
 ;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2023, 2024 Zheng Junjie <873216...@qq.com>
+;;; Copyright © 2023 Ryan Desfosses <rde...@sdf.org>
 ;;; Copyright © 2024 Suhail Singh <suh...@bayesians.ca>
 ;;; Copyright © 2024 Simon Tournier <zimon.touto...@gmail.com>
 ;;; Copyright © 2024 Javier Olaechea <pir...@gmail.com>
@@ -1403,6 +1404,52 @@ write native speed custom Git applications in any 
language with bindings.")
                    ;; Tests may be disabled if cross-compiling.
                    (format #t "Test suite not run.~%"))))))))))
 
+(define-public git-issue
+  (let ((commit "d056998566d30235072b97982756ff607e9ecce9")
+        (revision "0"))
+    (package
+      (name "git-issue")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/dspinellis/git-issue";)
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "0002bjzv6rgpxbbsjiswg73prl7iq217qvafbxhsjp2wjj00i0sm"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list #:make-flags #~(list (string-append "PREFIX=" #$output))
+             #:test-target "test"
+             #:phases
+             #~(modify-phases %standard-phases
+                 (delete 'configure) ;no configure script
+                 (add-before 'build 'generate-docs
+                   (lambda _
+                     (invoke "make" "sync-docs")))
+                 (add-before 'check 'fix-tests
+                   (lambda _
+                     (substitute* "test.sh"
+                       ;; Skip 3 failing tests.
+                       (("fail \"Uncommitted files sync-docs.*")
+                        "ok \"ignored\"\n")
+                       (("try_grep '\\^Tags:\\.\\*cloned'")
+                        "ok \"ignored\"")
+                       (("try \"\\$gi\" tag \"\\$issue\" cloned")
+                        "ok \"ignored\"")
+                       ;; Fix a test.
+                       (("#!/bin/sh") (string-append "#!" (which "sh")))))))))
+      (native-inputs (list git-minimal util-linux))
+      (inputs (list jq curl))
+      (synopsis "Git-based decentralized issue management")
+      (description
+       "This is a minimalist decentralized issue management system based on
+Git, offering (optional) bidirectional integration with GitHub and GitLab
+issue management.")
+      (home-page "https://github.com/dspinellis/git-issue";)
+      (license license:gpl3+))))
+
 (define-public git-crypt
   (package
     (name "git-crypt")
@@ -1423,7 +1470,7 @@ write native speed custom Git applications in any 
language with bindings.")
      (list docbook-xml-4.2 docbook-xsl libxslt))
     (arguments
      (list
-      #:tests? #f ; No tests.
+      #:tests? #f                       ; No tests.
       #:make-flags
       #~(list
          "ENABLE_MAN=yes"

Reply via email to