Almost fixed nwg-displays.

This commit is contained in:
Daniel Ziltener 2023-12-20 17:09:53 +01:00
parent 8d7de802de
commit ba0258e63a
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -29,24 +29,33 @@
(modules '((guix build utils)))))
(native-inputs
(list gobject-introspection
gtk+
python-wheel))
(inputs
(list gtk+))
(propagated-inputs
(list atk
gdk-pixbuf
gtk-layer-shell
gobject-introspection
pango
python-i3ipc
python-gst
python-pygobject
python-wheel
wlr-randr))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f
#:build-backend "setuptools.build_meta"
#: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")
(synopsis "Output management utility for sway and Hyprland.")
(description "Output management utility for sway Wayland compositor, inspired by wdisplays and wlay.")