5 , gobject-introspection
11 , hyprlandSupport ? false
15 python310Packages.buildPythonApplication rec {
16 pname = "nwg-displays";
19 src = fetchFromGitHub {
21 repo = "nwg-displays";
23 hash = "sha256-9v5TQTliUEnynoGDf1UXsQ9Ym7x2gPmx4QiRJH5BId4=";
35 propagatedBuildInputs = [
40 python310Packages.gst-python
41 python310Packages.i3ipc
42 python310Packages.pygobject3
43 ] ++ lib.optionals hyprlandSupport [
50 makeWrapperArgs+=("''${gappsWrapperArgs[@]}");
53 # Upstream has no tests
57 homepage = "https://github.com/nwg-piotr/nwg-displays";
58 description = "Output management utility for Sway and Hyprland";
59 license = lib.licenses.mit;
60 platforms = lib.platforms.linux;
62 mainProgram = "nwg-displays";