mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: itstool: Use G-expression.
* gnu/packages/glib.scm (itstool)[arguments]: Convert to gexp.
This commit is contained in:
parent
0d6e7e54ed
commit
8cdb8e10e2
1 changed files with 7 additions and 9 deletions
|
@ -607,15 +607,13 @@ The intltool collection can be used to do these things:
|
||||||
(inputs
|
(inputs
|
||||||
(list libxml2 python-libxml2 python))
|
(list libxml2 python-libxml2 python))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((prog (string-append (assoc-ref outputs "out")
|
(wrap-program (string-append #$output "/bin/itstool")
|
||||||
"/bin/itstool")))
|
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))))))))
|
||||||
(wrap-program prog
|
|
||||||
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH"))))
|
|
||||||
#t))))))
|
|
||||||
(home-page "http://www.itstool.org")
|
(home-page "http://www.itstool.org")
|
||||||
(synopsis "Tool to translate XML documents with PO files")
|
(synopsis "Tool to translate XML documents with PO files")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue