nixpkgs/pkgs/tools/system/krakenx/default.nix
2023-05-25 19:03:52 +03:00

24 lines
619 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "krakenx";
version = "0.0.3";
src = 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;
};
}