mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: emacs-image+: Don't propagate inputs.
* gnu/packages/emacs.scm (emacs-image+)[propagated-inputs]: Remove imagemagick [Inputs]: Add imagemagick [arguments]: Substitute path to imagemagick commands Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
a749040ad7
commit
92d581a0fd
1 changed files with 16 additions and 1 deletions
|
@ -11217,7 +11217,22 @@ (define-public emacs-image+
|
||||||
(base32
|
(base32
|
||||||
"0v66wk9nh0raih4jhrzmmyi5lbysjnmbv791vm2230ffi2hmwxnd"))))
|
"0v66wk9nh0raih4jhrzmmyi5lbysjnmbv791vm2230ffi2hmwxnd"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(propagated-inputs `(("imagemagick" ,imagemagick)))
|
(inputs `(("imagemagick" ,imagemagick)))
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'configure
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let ((imagemagick (assoc-ref inputs "imagemagick")))
|
||||||
|
;; Specify the absolute file names of the various
|
||||||
|
;; programs so that everything works out-of-the-box.
|
||||||
|
(chmod "image+.el" #o666)
|
||||||
|
(emacs-substitute-variables
|
||||||
|
"image+.el"
|
||||||
|
("imagex-convert-command"
|
||||||
|
(string-append imagemagick "/bin/convert"))
|
||||||
|
("imagex-identify-command"
|
||||||
|
(string-append imagemagick "/bin/identify")))))))))
|
||||||
(home-page "https://github.com/mhayashi1120/Emacs-imagex")
|
(home-page "https://github.com/mhayashi1120/Emacs-imagex")
|
||||||
(synopsis "Image manipulation extensions for Emacs")
|
(synopsis "Image manipulation extensions for Emacs")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue