me
/
guix
Archived
1
0
Fork 0

gnu: itstool: Use G-expression.

* gnu/packages/glib.scm (itstool)[arguments]: Convert to gexp.
master
Marius Bakke 2022-06-30 23:00:10 +02:00
parent 0d6e7e54ed
commit 8cdb8e10e2
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 7 additions and 9 deletions

View File

@ -607,15 +607,13 @@ The intltool collection can be used to do these things:
(inputs
(list libxml2 python-libxml2 python))
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda* (#:key outputs #:allow-other-keys)
(let ((prog (string-append (assoc-ref outputs "out")
"/bin/itstool")))
(wrap-program prog
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH"))))
#t))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda _
(wrap-program (string-append #$output "/bin/itstool")
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))))))))
(home-page "http://www.itstool.org")
(synopsis "Tool to translate XML documents with PO files")
(description