Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1.0 KiB
Nix
50 lines
1.0 KiB
Nix
{
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
lib,
|
|
wrapQtAppsHook,
|
|
qtbase,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication {
|
|
pname = "hue-plus";
|
|
version = "1.4.5";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kusti8";
|
|
repo = "hue-plus";
|
|
rev = "7ce7c4603c6d0ab1da29b0d4080aa05f57bd1760";
|
|
sha256 = "sha256-dDIJXhB3rmKnawOYJHE7WK38b0M5722zA+yLgpEjDyI=";
|
|
};
|
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
pyserial
|
|
pyqt5
|
|
pyaudio
|
|
appdirs
|
|
setuptools
|
|
];
|
|
|
|
doCheck = false;
|
|
dontWrapQtApps = true;
|
|
|
|
makeWrapperArgs = [
|
|
"\${qtWrapperArgs[@]}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/kusti8/hue-plus";
|
|
description = "Windows and Linux driver in Python for the NZXT Hue+";
|
|
longDescription = ''
|
|
A cross-platform driver in Python for the NZXT Hue+. Supports all functionality except FPS, CPU, and GPU lighting.
|
|
'';
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ garaiza-93 ];
|
|
};
|
|
}
|