{ lib, aiohttp, buildPythonPackage, fetchPypi, setuptools, }: buildPythonPackage rec { pname = "asyncsleepiq"; version = "1.7.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-7lI60Nc5gLIjs5bEG5bQVw3Vhj9Xq6cghVZVHm8WRGg="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ aiohttp ]; # upstream has no tests doCheck = false; pythonImportsCheck = [ "asyncsleepiq" ]; meta = { description = "Async interface to SleepIQ API"; homepage = "https://github.com/kbickar/asyncsleepiq"; changelog = "https://github.com/kbickar/asyncsleepiq/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }