11 libayatana-appindicator,
19 python3Packages.buildPythonApplication rec {
20 pname = "polychromatic";
24 src = fetchFromGitHub {
25 owner = "polychromatic";
26 repo = "polychromatic";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-eSfyoEu4qQv+R17wgTfATOE1uHkksNxo17btR6swuZo=";
33 substituteInPlace scripts/build-styles.sh \
34 --replace-fail '$(which sassc 2>/dev/null)' '${sassc}/bin/sassc' \
35 --replace-fail '$(which sass 2>/dev/null)' '${sassc}/bin/sass'
36 substituteInPlace polychromatic/paths.py \
37 --replace-fail "/usr/share/polychromatic" "$out/share/polychromatic"
41 scripts/build-styles.sh
55 buildInputs = [ qt6.qtwayland ];
57 propagatedBuildInputs = with python3Packages; [
70 libayatana-appindicator
75 dontWrapQtApps = true;
78 "\${gappsWrapperArgs[@]}"
79 "\${qtWrapperArgs[@]}"
83 homepage = "https://polychromatic.app/";
84 description = "Graphical front-end and tray applet for configuring Razer peripherals on GNU/Linux";
86 Polychromatic is a frontend for OpenRazer that enables Razer devices
87 to control lighting effects and more on GNU/Linux.
89 license = licenses.gpl3;
90 platforms = platforms.linux;
91 maintainers = with maintainers; [ evanjs ];
92 mainProgram = "polychromatic-controller";