summary refs log tree commit diff
path: root/pkgs/tools/system/krakenx/default.nix
blob: e5b1e3ec1c94e9be58a03e13845fcfb1c06ae04d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, python3Packages }:

python3Packages.buildPythonApplication rec {
  pname = "krakenx";
  version = "0.0.3";

  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "1khw1rxra5hn7hwp16i6kgj89znq8vjsyly3r2dxx2z2bddil000";
  };

  propagatedBuildInputs = lib.singleton python3Packages.pyusb;

  doCheck = false; # there are no tests

  meta = with lib; {
    description = "Python script to control NZXT cooler Kraken X52/X62/X72";
    homepage = "https://github.com/KsenijaS/krakenx";
    license = licenses.gpl2;
    maintainers = [ maintainers.willibutz ];
    platforms = platforms.linux;
  };
}