diff options
author | Sergio Pastor PĂ©rez <sergio.pastorperez@outlook.es> | 2024-04-01 21:54:20 +0200 |
---|---|---|
committer | Guix Patches Tester <> | 2024-04-17 13:51:09 +0200 |
commit | 14463569b15ac78d0ca5b065ffc71b56cd908d50 (patch) | |
tree | 12cdaebe010ff2faddbaba4685edd5b683a64563 | |
parent | b47ae1ecc43baaf726701ab2d2f810ecfaa75428 (diff) | |
download | guix-patches-issue-70130.tar guix-patches-issue-70130.tar.gz |
gnu: Add emacs-stgit-2.issue-70130
* gnu/packages/emacs-xyz.scm (emacs-stgit-2): New variable.
Change-Id: I0231d35ae94ce26eb4a9e55f70d78ab33c5f03e3
-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") |