1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, requests 6, pyjwt 7}: 8 9buildPythonPackage rec { 10 pname = "pyixapi"; 11 version = "0.2.1"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-c5a8Ldbzgh8gXuCDYbKk9zR6AoiBF3Y/VQvGlSwXpR4="; 16 }; 17 18 nativeBuildInputs = [ 19 setuptools-scm 20 ]; 21 propagatedBuildInputs = [ 22 requests 23 pyjwt 24 ]; 25 26 pythonImportsCheck = [ "pyixapi" ]; 27 28 meta = with lib; { 29 homepage = "https://github.com/peering-manager/pyixapi/"; 30 changelog = "https://github.com/peering-manager/pyixapi/releases/tag/${version}"; 31 description = "Python API client library for IX-API"; 32 license = licenses.asl20; 33 maintainers = teams.wdz.members; 34 }; 35}