nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 39 lines 708 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pydantic 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "peco"; 11 version = "0.0.29"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-zL0tBTwm+l5eyxlWr2xoE+nLpMfUKri1/yD+WgTUqHQ="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 pydantic 24 ]; 25 26 # Module has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "peco" 31 ]; 32 33 meta = with lib; { 34 description = "Library for interacting with the PECO outage map"; 35 homepage = "https://github.com/IceBotYT/peco-outage-api"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}