nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 49 lines 1.1 kB view raw
1{ 2 python3Packages, 3 fetchFromGitHub, 4 lib, 5 wrapQtAppsHook, 6 qtbase, 7}: 8 9python3Packages.buildPythonApplication rec { 10 pname = "hue-plus"; 11 version = "1.4.5"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "kusti8"; 16 repo = pname; 17 rev = "7ce7c4603c6d0ab1da29b0d4080aa05f57bd1760"; 18 sha256 = "sha256-dDIJXhB3rmKnawOYJHE7WK38b0M5722zA+yLgpEjDyI="; 19 }; 20 21 buildInputs = [ qtbase ]; 22 23 nativeBuildInputs = [ wrapQtAppsHook ]; 24 25 propagatedBuildInputs = with python3Packages; [ 26 pyserial 27 pyqt5 28 pyaudio 29 appdirs 30 setuptools 31 ]; 32 33 doCheck = false; 34 dontWrapQtApps = true; 35 36 makeWrapperArgs = [ 37 "\${qtWrapperArgs[@]}" 38 ]; 39 40 meta = with lib; { 41 homepage = "https://github.com/kusti8/hue-plus"; 42 description = "Windows and Linux driver in Python for the NZXT Hue+"; 43 longDescription = '' 44 A cross-platform driver in Python for the NZXT Hue+. Supports all functionality except FPS, CPU, and GPU lighting. 45 ''; 46 license = licenses.gpl3Only; 47 maintainers = with maintainers; [ garaiza-93 ]; 48 }; 49}