Skip to content

Commit 1462234

Browse files
committed
hue-plus: init at 1.4.5
1 parent 032df61 commit 1462234

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{ python3Packages
2+
, fetchFromGitHub
3+
, lib
4+
, wrapQtAppsHook
5+
, qtbase }:
6+
7+
python3Packages.buildPythonApplication rec {
8+
pname = "hue-plus";
9+
version = "1.4.5";
10+
11+
src = fetchFromGitHub {
12+
owner = "kusti8";
13+
repo = pname;
14+
rev = "7ce7c4603c6d0ab1da29b0d4080aa05f57bd1760";
15+
sha256 = "sha256-dDIJXhB3rmKnawOYJHE7WK38b0M5722zA+yLgpEjDyI=";
16+
};
17+
18+
buildInputs = [ qtbase ];
19+
20+
nativeBuildInputs = [ wrapQtAppsHook ];
21+
22+
propagatedBuildInputs = with python3Packages; [
23+
pyserial pyqt5 pyaudio appdirs setuptools
24+
];
25+
26+
doCheck = false;
27+
dontWrapQtApps = true;
28+
29+
makeWrapperArgs = [
30+
"\${qtWrapperArgs[@]}"
31+
];
32+
33+
meta = with lib; {
34+
homepage = "https://github.com/kusti8/hue-plus";
35+
description = "A Windows and Linux driver in Python for the NZXT Hue+";
36+
longDescription = ''
37+
A cross-platform driver in Python for the NZXT Hue+. Supports all functionality except FPS, CPU, and GPU lighting.
38+
'';
39+
license = licenses.gpl3Only;
40+
maintainers = with maintainers; [ garaiza-93 ];
41+
};
42+
}

pkgs/top-level/all-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8397,6 +8397,8 @@ with pkgs;
83978397

83988398
httpx = callPackage ../tools/security/httpx { };
83998399

8400+
hue-plus = libsForQt5.callPackage ../applications/misc/hue-plus { };
8401+
84008402
hurl = callPackage ../tools/networking/hurl { };
84018403

84028404
hubicfuse = callPackage ../tools/filesystems/hubicfuse { };

0 commit comments

Comments
 (0)