f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
36 lines
795 B
Nix
36 lines
795 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pycoolmasternet-async";
|
|
version = "0.2.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OnFreund";
|
|
repo = "pycoolmasternet-async";
|
|
rev = "v${version}";
|
|
hash = "sha256-uEZORtCZ5VOlTqonkgAtxhRIbhW+JTUMccuQ2zY7Jyo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|