mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: asymptote: Use G-expressions.
* gnu/packages/plotutils.scm (asymptote)[arguments]<#:phases>: Use G-expressions.
This commit is contained in:
parent
d1cc373033
commit
85f026f36a
1 changed files with 62 additions and 62 deletions
|
@ -345,7 +345,7 @@ (define-public asymptote
|
|||
#$output
|
||||
"/share/texmf/tex/context/third"))
|
||||
#:phases
|
||||
`(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'locate-tirpc
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* (list "configure.ac")
|
||||
|
@ -395,17 +395,17 @@ (define-public asymptote
|
|||
(add-after 'install 'install-Emacs-data
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Install related Emacs libraries into an appropriate location.
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(lisp-dir (string-append out "/share/emacs/site-lisp")))
|
||||
(let ((lisp-dir
|
||||
(string-append #$output "/share/emacs/site-lisp")))
|
||||
(for-each (cut install-file <> lisp-dir)
|
||||
(find-files "." "\\.el$"))
|
||||
(emacs-generate-autoloads ,name lisp-dir))))
|
||||
(emacs-generate-autoloads #$name lisp-dir))))
|
||||
(add-after 'install-Emacs-data 'wrap-python-script
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
;; Make sure 'xasy' runs with the correct PYTHONPATH.
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(path (getenv "GUIX_PYTHONPATH")))
|
||||
(wrap-program (string-append out "/share/asymptote/GUI/xasy.py")
|
||||
(let ((path (getenv "GUIX_PYTHONPATH")))
|
||||
(wrap-program
|
||||
(string-append #$output "/share/asymptote/GUI/xasy.py")
|
||||
`("GUIX_PYTHONPATH" ":" prefix (,path)))))))))
|
||||
(home-page "http://asymptote.sourceforge.net")
|
||||
(synopsis "Script-based vector graphics language")
|
||||
|
|
Loading…
Reference in a new issue