gnu: blueprint-compiler: Update to 0.12.0.
* gnu/packages/gnome.scm (blueprint-compiler): Update to 0.12.0. [arguments]: Remove ‘wrap-gi’ phase, add ‘pre-check’. [native-inputs]: Add libadwaita and xorg-server-for-tests. Reindent. Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>master
parent
d92bb7c542
commit
cee21ef865
|
@ -3278,7 +3278,7 @@ the GNOME desktop environment.")
|
||||||
(define-public blueprint-compiler
|
(define-public blueprint-compiler
|
||||||
(package
|
(package
|
||||||
(name "blueprint-compiler")
|
(name "blueprint-compiler")
|
||||||
(version "0.4.0")
|
(version "0.12.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -3288,7 +3288,7 @@ the GNOME desktop environment.")
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0hj7f4xhwjc4x32r3lswwclbw37fw3spy806g4plkmym25hz4ydy"))))
|
"15cm2bksmygf8sifryrawxxblvvw27p4w3m42gvp3jlq50a15xm6"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -3303,13 +3303,15 @@ the GNOME desktop environment.")
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'wrap 'wrap-python
|
(add-after 'wrap 'wrap-python
|
||||||
(assoc-ref python:%standard-phases 'wrap))
|
(assoc-ref python:%standard-phases 'wrap))
|
||||||
(add-after 'wrap-python 'wrap-gi
|
(add-before 'check 'pre-check
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(system "Xvfb :1 &")
|
||||||
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
(setenv "DISPLAY" ":1"))))))
|
||||||
(wrap-program (string-append out "/bin/blueprint-compiler")
|
(native-inputs (list gtk
|
||||||
`("GI_TYPELIB_PATH" ":" suffix (,gi-typelib-path)))))))))
|
libadwaita
|
||||||
(native-inputs (list gtk python-pygobject python))
|
python
|
||||||
|
python-pygobject
|
||||||
|
xorg-server-for-tests))
|
||||||
(inputs (list python))
|
(inputs (list python))
|
||||||
(synopsis "Template markup language")
|
(synopsis "Template markup language")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue