1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pynina"; 10 version = "0.1.8"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 pname = "PyNINA"; 17 inherit version; 18 sha256 = "sha256-U8/SzkkZJLRBpTQx8NRpFWUlckn4Jr0n9cHR4/plyb0="; 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 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}