diff options
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5da3f28545..949d1dce60 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7587,6 +7587,32 @@ other markup language major modes.") configuration, cache, and other data.") (license license:gpl3+))) +(define-public emacs-stgit-2 + (package + (inherit stgit-2) + (name "emacs-stgit") + (build-system emacs-build-system) + (native-inputs '()) + (inputs (list stgit-2 git)) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "contrib"))) + (add-after 'chdir 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((stgit (search-input-file inputs "/bin/stg")) + (git (search-input-file inputs "/bin/git"))) + (substitute* "stgit.el" + (("\"stg\"") + (string-append "\"" stgit "\"")) + (("\"git\"") + (string-append "\"" git "\""))))))))) + (synopsis "Run Stgit within Emacs") + (description + "This package provides an Emacs-based interface to the Stgit."))) + (define-public emacs-string-inflection (package (name "emacs-string-inflection") |