diff options
author | Niklas Eklund <niklas.eklund@posteo.net> | 2022-04-28 17:28:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-02 15:14:44 +0200 |
commit | 35e5d2ce56cef2f6222140032ec7baa65d3b6cc7 (patch) | |
tree | 7650bd34db4f8044d72f8ed7286f0e780b8c1810 | |
parent | 75b7f495d0629c426a0b89c720e55726c991f322 (diff) | |
download | guix-35e5d2ce56cef2f6222140032ec7baa65d3b6cc7.tar.gz |
gnu: Add emacs-git-email.
* gnu/packages/emacs-xyz.scm (emacs-git-email): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db1663c677..a928ac72f1 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15745,6 +15745,44 @@ created by @code{git format-patch}, from @code{magit}, @code{dired} and @code{ibuffer} buffers.") (license license:gpl3+))) +(define-public emacs-git-email + ;; Use latest commit since latest tagged release is missing important + ;; changes. + (let ((commit "b5ebade3a48dc0ce0c85699f25800808233c73be") + (revision "0")) + (package + (name "emacs-git-email") + (version (git-version "0.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~yoctocell/git-email") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lk1yds7idgawnair8l3s72rgjmh80qmy4kl5wrnqvpmjrmdgvnx")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; piem is not yet packaged in Guix. + (add-after 'unpack 'remove-piem + (lambda _ + (delete-file "git-email-piem.el"))) + (add-before 'install 'makeinfo + (lambda _ + (invoke "makeinfo" "doc/git-email.texi")))))) + (native-inputs + (list texinfo)) + (propagated-inputs + (list mu emacs-magit emacs-notmuch)) + (license license:gpl3+) + (home-page "https://sr.ht/~yoctocell/git-email") + (synopsis "Format and send Git patches in Emacs") + (description "This package provides utilities for formatting and +sending Git patches via Email, without leaving Emacs.")))) + (define-public emacs-erc-hl-nicks (package (name "emacs-erc-hl-nicks") |