[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57889] [PATCH 1/8] gnu: blueprint-compiler: Wrap GUIX_PYTHONPATH an
From: |
Liliana Marie Prikler |
Subject: |
[bug#57889] [PATCH 1/8] gnu: blueprint-compiler: Wrap GUIX_PYTHONPATH and GI_TYPELIB_PATH. |
Date: |
Sat, 17 Sep 2022 18:32:41 +0200 |
* gnu/packages/gnome.scm (blueprint-compiler)[arguments]: Add
python-build-system's wrap phase, as well as a phase for GI_TYPELIB_PATH.
---
gnu/packages/gnome.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 282c388b18..24db9c2024 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3275,6 +3275,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")
--
2.37.3
- [bug#57889] [PATCH 0/8] Add gfeeds-next, Liliana Marie Prikler, 2022/09/17
- [bug#57889] [PATCH 2/8] gnu: pugixml: Update to 1.12.1., Liliana Marie Prikler, 2022/09/17
- [bug#57889] [PATCH 5/8] gnu: Add syndication-domination., Liliana Marie Prikler, 2022/09/17
- [bug#57889] [PATCH 3/8] gnu: Add python-timeout-decorator., Liliana Marie Prikler, 2022/09/17
- [bug#57889] [PATCH 6/8] gnu: gfeeds: Use git origin., Liliana Marie Prikler, 2022/09/17
- [bug#57889] [PATCH 7/8] gnu: gfeeds: Modernize package description., Liliana Marie Prikler, 2022/09/17
- [bug#57889] [PATCH 4/8] gnu: Add python-readability-lxml., Liliana Marie Prikler, 2022/09/17
- [bug#57889] [PATCH 1/8] gnu: blueprint-compiler: Wrap GUIX_PYTHONPATH and GI_TYPELIB_PATH.,
Liliana Marie Prikler <=
- [bug#57889] [PATCH 8/8] gnu: Add gfeeds-next., Liliana Marie Prikler, 2022/09/17