at 24.11-pre 745 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchPypi, 6 pydantic, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "peco"; 13 version = "0.0.30"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-a3MPqtbDftbLGtpJ66CFVC5wJFa9L3dqOKPfBZCaHpM="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 aiohttp 27 pydantic 28 ]; 29 30 # Module has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ "peco" ]; 34 35 meta = with lib; { 36 description = "Library for interacting with the PECO outage map"; 37 homepage = "https://github.com/IceBotYT/peco-outage-api"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}