[bug#75404] gnu: Add emacs-stgit.

Message ID 20250106130050.16052-1-ngraves@ngraves.fr
State New
Headers
Series [bug#75404] gnu: Add emacs-stgit. |

Commit Message

Nicolas Graves Jan. 6, 2025, 1 p.m. UTC
  * gnu/packages/version-control.scm (emacs-stgit): New variable.
---
 gnu/packages/version-control.scm | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index e63a843fc3..f30c3dc7c7 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -47,7 +47,7 @@ 
 ;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2022 Dhruvin Gandhi <contact@dhruvin.dev>
 ;;; Copyright © 2015, 2022 David Thompson <davet@gnu.org>
-;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2023, 2025 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
 ;;; Copyright © 2023 Kjartan Oli Agustsson <kjartanoli@disroot.org>
 ;;; Copyright © 2023 Steve George <steve@futurile.net>
@@ -87,6 +87,7 @@  (define-module (gnu packages version-control)
   #:use-module (guix build-system cargo)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
+  #:use-module (guix build-system emacs)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system perl)
@@ -1916,6 +1917,18 @@  (define-public stgit-2
 @end itemize")
     (license license:gpl2)))
 
+(define-public emacs-stgit
+  (package
+    (inherit stgit-2)
+    (name "emacs-stgit")
+    (build-system emacs-build-system)
+    (arguments
+     (list #:include '(list "contrib/stgit.el")))
+    (synopsis "Emacs major mode for StGit interaction")
+    (description "This package a interactive tool to interact with git
+branches using StGit.")
+    (license license:gpl3+)))
+
 (define-public stgit
   (package
     (name "stgit")