1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pdm-backend, 7 pydantic, 8 requests, 9}: 10 11buildPythonPackage rec { 12 pname = "pyaussiebb"; 13 version = "0.1.6"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "yaleman"; 18 repo = "aussiebb"; 19 tag = "v${version}"; 20 hash = "sha256-GD04Bq+uJs2JuTjtnGh6QKD4uFXwmGcOMB1Hu9yBlkI="; 21 }; 22 23 build-system = [ pdm-backend ]; 24 25 dependencies = [ 26 aiohttp 27 requests 28 pydantic 29 ]; 30 31 # Tests require credentials and requests-testing 32 doCheck = false; 33 34 pythonImportsCheck = [ "aussiebb" ]; 35 36 meta = { 37 description = "Module for interacting with the Aussie Broadband APIs"; 38 homepage = "https://github.com/yaleman/aussiebb"; 39 changelog = "https://github.com/yaleman/pyaussiebb/blob/${src.tag}/CHANGELOG.md"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43}