guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a506f6d91d10302ec12a8a77cf83ebe91db0a957
Author: Arun Isaac <[email protected]>
AuthorDate: Sun Feb 8 23:24:00 2026 +0000
gnu: Add git-bug.
* gnu/packages/task-management.scm (git-bug): New variable.
Change-Id: I8944dc3b7cede4447a60947c92b55dfe19a23692
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/task-management.scm | 71 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index c9dde52dd5..ab1b7cd3da 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2025 Ricardo Wurmus <[email protected]>
;;; Copyright © 2025 Matthias Riße <[email protected]>
;;; Copyright © 2025 jgart <[email protected]>
+;;; Copyright © 2026 Arun Isaac <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -43,6 +44,8 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-crypto)
+ #:use-module (gnu packages golang-vcs)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gstreamer)
@@ -162,6 +165,74 @@ machines.")
following the Japanese kanban (boarding) style.")
(license license:expat))))
+(define-public git-bug
+ (package
+ (name "git-bug")
+ (version "0.10.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/git-bug/git-bug")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1s3y8ll2942d6my2wz6bbipram4l6brbwwfvp2nr8cchzrb23dl8"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:import-path "github.com/git-bug/git-bug"
+ #:embed-files
+ #~(list "prelude.graphql")
+ #:test-flags
+ #~(list "-skip" (string-join
+ (list
+ ;; These tests require network access.
+ "TestValidateProject"
+ "TestValidateUsername"
+ ;; This test is buggy. See
+ ;; https://github.com/git-bug/git-bug/issues/809
+ "TestGoGitRepo_Indexes")
+ "|"))))
+ (native-inputs
+ (list go-github-com-99designs-gqlgen
+ go-github-com-99designs-keyring
+ go-github-com-araddon-dateparse
+ go-github-com-awesome-gocui-gocui
+ go-github-com-blevesearch-bleve
+ go-github-com-dustin-go-humanize
+ go-github-com-fatih-color
+ go-github-com-go-git-go-billy-v5
+ go-github-com-go-git-go-git-v5
+ go-github-com-gorilla-mux
+ go-github-com-hashicorp-golang-lru-v2
+ go-github-com-michaelmure-go-term-text
+ go-github-com-phayes-freeport
+ go-github-com-protonmail-go-crypto
+ go-github-com-shurcool-githubv4
+ go-github-com-skratchdot-open-golang
+ go-github-com-spf13-cobra
+ go-github-com-stretchr-testify
+ go-github-com-vbauerster-mpb-v8
+ go-github-com-vektah-gqlparser-v2
+ ;; The build fails with the latest (v1.28.1)
+ ;; go-gitlab-com-gitlab-org-api-client-go. See
+ ;; https://github.com/git-bug/git-bug/issues/1514 So, we use the
+ ;; version specified in go.mod.
+ go-gitlab-com-gitlab-org-api-client-go-0.116
+ go-golang-org-x-oauth2
+ go-github-com-icrowley-fake
+ ;; git is required only for tests.
+ git-minimal/pinned))
+ (home-page "https://github.com/git-bug/git-bug")
+ (synopsis "Distributed, offline-first bug tracker embedded in git")
+ (description
+ "@code{git-bug} is a standalone, distributed, offline-first issue
+management tool that embeds issues, comments, and more as objects in a git
+repository.")
+ (license license:gpl3+)))
+
(define-public annextimelog
(package
(name "annextimelog")