mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 02:07:56 +01:00
gnu: Add emacs-eimp.
* gnu/packages/emacs.scm (emacs-eimp): New variable. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
parent
4e782ffff7
commit
de5256d3bb
1 changed files with 39 additions and 0 deletions
|
@ -6346,6 +6346,45 @@ (define-public emacs-restclient
|
||||||
displays results pretty-printed in XML or JSON with @code{restclient-mode}")
|
displays results pretty-printed in XML or JSON with @code{restclient-mode}")
|
||||||
(license license:public-domain))))
|
(license license:public-domain))))
|
||||||
|
|
||||||
|
(define-public emacs-eimp
|
||||||
|
(let ((version "1.4.0")
|
||||||
|
(commit "2e7536fe6d8f7faf1bad7a8ae37faba0162c3b4f")
|
||||||
|
(revision "1"))
|
||||||
|
(package
|
||||||
|
(name "emacs-eimp")
|
||||||
|
(version (git-version version revision commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/nicferrier/eimp.git")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"154d57yafxbcf39r89n5j43c86rp2fki3lw3gwy7ww2g6qkclcra"))))
|
||||||
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'configure
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((imagemagick (assoc-ref inputs "imagemagick")))
|
||||||
|
;; eimp.el is read-only in git.
|
||||||
|
(chmod "eimp.el" #o644)
|
||||||
|
(emacs-substitute-variables "eimp.el"
|
||||||
|
("eimp-mogrify-program"
|
||||||
|
(string-append imagemagick "/bin/mogrify"))))
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("imagemagick" ,imagemagick)))
|
||||||
|
(home-page "https://github.com/nicferrier/eimp")
|
||||||
|
(synopsis "Interactive image manipulation utility for Emacs")
|
||||||
|
(description "@code{emacs-eimp} allows interactive image manipulation
|
||||||
|
from within Emacs. It uses the code@{mogrify} utility from ImageMagick to do
|
||||||
|
the actual transformations.")
|
||||||
|
(license license:gpl2+))))
|
||||||
|
|
||||||
(define-public emacs-dired-hacks
|
(define-public emacs-dired-hacks
|
||||||
(let ((commit "eda68006ce73bbf6b9b995bfd70d08bec8cade36")
|
(let ((commit "eda68006ce73bbf6b9b995bfd70d08bec8cade36")
|
||||||
(revision "1"))
|
(revision "1"))
|
||||||
|
|
Loading…
Reference in a new issue