diff --git a/pkgs/development/python-modules/pycoolmasternet-async/default.nix b/pkgs/development/python-modules/pycoolmasternet-async/default.nix new file mode 100644 index 000000000000..45b40ddeadb9 --- /dev/null +++ b/pkgs/development/python-modules/pycoolmasternet-async/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchFromGitHub +}: + +buildPythonPackage rec { + pname = "pycoolmasternet-async"; + version = "0.1.2"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "OnFreund"; + repo = "pycoolmasternet-async"; + rev = "v${version}"; + sha256 = "0qzdk18iqrvin8p8zrydf69d6pii3j47j11h7ymmsx08gh7c176g"; + }; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ "pycoolmasternet_async" ]; + + meta = with lib; { + description = "Python library to control CoolMasterNet HVAC bridges over asyncio"; + homepage = "https://github.com/OnFreund/pycoolmasternet-async"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6711851e0a03..e5f55b22c358 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5234,6 +5234,8 @@ in { pycontrol4 = callPackage ../development/python-modules/pycontrol4 { }; + pycoolmasternet-async = callPackage ../development/python-modules/pycoolmasternet-async { }; + pyfireservicerota = callPackage ../development/python-modules/pyfireservicerota { }; pyflick = callPackage ../development/python-modules/pyflick { };