From 3995e51f75a947640a9d8e5e850045ad0e4b344c Mon Sep 17 00:00:00 2001 From: Alvin Hsu Date: Fri, 29 Aug 2025 22:59:31 -0400 Subject: [PATCH] gnu: Add emacs-agitjo. * gnu/packages/emacs-xyz.scm (emacs-agitjo): New variable. Change-Id: I2b7597b337e7f46ec062860818d142762faefeb2 Signed-off-by: Cayetano Santos --- gnu/packages/emacs-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e92c9876e975d63a3df247255bd9f517aa46fd90..28d1c6a70ac239ed29753a99fa27040dd591350e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -148,7 +148,7 @@ ;;; Copyright © 2024, 2025 Spencer King ;;; Copyright © 2024 emma thompson ;;; Copyright © 2024-2025 Liam Hupfer -;;; Copyright © 2024-2025 aurtzy +;;; Copyright © 2024-2025 Alvin Hsu ;;; Copyright © 2024 Olivier Rojon ;;; Copyright © 2024 Divya Ranjan Pattanaik ;;; Copyright © 2025 Arjan Adriaanse @@ -2336,6 +2336,32 @@ before interacting with non-free LLMs.") @acronym{Large Language Models, LLM} clients in Emacs.") (license license:gpl3+)))) +(define-public emacs-agitjo + (package + (name "emacs-agitjo") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/halvin/agitjo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wbhi4lbqk0vf0di86a9wljvva3a9vhb2wvsn1s44h53xslhrj0n")))) + (build-system emacs-build-system) + (arguments (list #:tests? #f)) ;no tests + (propagated-inputs (list emacs-magit emacs-markdown-mode emacs-transient)) + (home-page "https://codeberg.org/halvin/agitjo") + (synopsis "Manage Forgejo PRs with AGit-Flow in Emacs") + (description + "AGitjo is a GNU Emacs package that extends Magit with a new menu for +AGit-Flow operations, to make them more convenient for users. The AGit workflow +enables users to create and edit pull requests using just the @code{git push} +command. This package is intended specifically for use with +Forgejo-based (e.g. Codeberg) repositories.") + (license license:gpl3+))) + (define-public emacs-magit (package (name "emacs-magit")