{ lib, aiohttp, buildPythonPackage, fetchPypi, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "pynina"; version = "0.3.5"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-M+0gujriblTDj/qDmBnC4DlKjlZbbStsr7tep5HeNlg="; }; pythonRelaxDeps = [ "aiohttp" ]; build-system = [ setuptools ]; dependencies = [ aiohttp ]; # Project has no tests doCheck = false; pythonImportsCheck = [ "pynina" ]; meta = with lib; { description = "Python API wrapper to retrieve warnings from the german NINA app"; homepage = "https://gitlab.com/DeerMaximum/pynina"; changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }