{ lib, aiohttp, buildPythonPackage, fetchPypi, setuptools, }: buildPythonPackage rec { pname = "asyncsleepiq"; version = "1.9.1"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-qVhfM9GVDx1tX5yHtJOmygnin3BrWtexrmP5dBFhIj8="; }; 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 ]; }; }