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