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