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