mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: blueprint-compiler: Wrap GUIX_PYTHONPATH and GI_TYPELIB_PATH.
* gnu/packages/gnome.scm (blueprint-compiler)[arguments]: Add python-build-system's wrap phase, as well as a phase for GI_TYPELIB_PATH.
This commit is contained in:
parent
95a216c4f0
commit
a70372b4aa
1 changed files with 19 additions and 0 deletions
|
@ -3276,6 +3276,25 @@ (define-public blueprint-compiler
|
|||
(base32
|
||||
"0hj7f4xhwjc4x32r3lswwclbw37fw3spy806g4plkmym25hz4ydy"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:imported-modules
|
||||
`(,@%meson-build-system-modules
|
||||
(guix build python-build-system))
|
||||
#:modules
|
||||
`((guix build meson-build-system)
|
||||
((guix build python-build-system) #:prefix python:)
|
||||
(guix build utils))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'wrap 'wrap-python
|
||||
(assoc-ref python:%standard-phases 'wrap))
|
||||
(add-after 'wrap-python 'wrap-gi
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
||||
(wrap-program (string-append out "/bin/blueprint-compiler")
|
||||
`("GI_TYPELIB_PATH" ":" suffix (,gi-typelib-path)))))))))
|
||||
(native-inputs (list gtk python-pygobject python))
|
||||
(inputs (list python))
|
||||
(synopsis "Template markup language")
|
||||
|
|
Loading…
Reference in a new issue