Almost fixed nwg-displays.
This commit is contained in:
parent
8d7de802de
commit
ba0258e63a
1 changed files with 12 additions and 3 deletions
|
@ -29,24 +29,33 @@
|
||||||
(modules '((guix build utils)))))
|
(modules '((guix build utils)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gobject-introspection
|
(list gobject-introspection
|
||||||
|
gtk+
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(inputs
|
|
||||||
(list gtk+))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list atk
|
(list atk
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
gtk-layer-shell
|
gtk-layer-shell
|
||||||
|
gobject-introspection
|
||||||
pango
|
pango
|
||||||
python-i3ipc
|
python-i3ipc
|
||||||
python-gst
|
python-gst
|
||||||
python-pygobject
|
python-pygobject
|
||||||
|
python-wheel
|
||||||
wlr-randr))
|
wlr-randr))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f
|
(list #:tests? #f
|
||||||
|
#:build-backend "setuptools.build_meta"
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'sanity-check))))
|
(delete 'sanity-check)
|
||||||
|
(replace 'wrap
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(invoke "find" ".")
|
||||||
|
(wrap-program
|
||||||
|
(string-append (assoc-ref outputs "out") "/bin/nwg-displays")
|
||||||
|
`("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
|
||||||
|
`("GI_TYPELIB_PATH" ":" prefix (, (getenv "GI_TYPELIB_PATH")))))))))
|
||||||
(home-page "https://github.com/nwg-piotr/nwg-displays")
|
(home-page "https://github.com/nwg-piotr/nwg-displays")
|
||||||
(synopsis "Output management utility for sway and Hyprland.")
|
(synopsis "Output management utility for sway and Hyprland.")
|
||||||
(description "Output management utility for sway Wayland compositor, inspired by wdisplays and wlay.")
|
(description "Output management utility for sway Wayland compositor, inspired by wdisplays and wlay.")
|
||||||
|
|
Loading…
Reference in a new issue