1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pynina"; 10 version = "0.3.3"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 pname = "PyNINA"; 17 inherit version; 18 hash = "sha256-6HJ78tKl6If/ezwOrGl3VEYO4eMh/6cZq2j2AMBr0I8="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ 29 "pynina" 30 ]; 31 32 meta = with lib; { 33 description = "Python API wrapper to retrieve warnings from the german NINA app"; 34 homepage = "https://gitlab.com/DeerMaximum/pynina"; 35 changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/${version}"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}