mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: itstool: Wrap with PYTHONPATH.
* gnu/packages/glib.scm (itstool): Change 'propagated-inputs' to 'inputs'. [arguments]: New field.
This commit is contained in:
parent
de1d7cbbdc
commit
4b58d88bcd
1 changed files with 11 additions and 1 deletions
|
@ -315,10 +315,20 @@ (define itstool
|
|||
(base32
|
||||
"0fh34wi52i0qikgvlmrcpf1vx6gc1xqdad4539l4d9hikfsrz45z"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs
|
||||
(inputs
|
||||
`(("libxml2" ,libxml2)
|
||||
("python2-libxml2" ,python2-libxml2)
|
||||
("python-2" ,python-2)))
|
||||
(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
|
||||
`("PYTHONPATH" = (,(getenv "PYTHONPATH"))))))))))
|
||||
(home-page "http://www.itstool.org")
|
||||
(synopsis "Tool to translate XML documents with PO files")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue