Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 42 lines 825 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pyjwt, 7 pytestCheckHook, 8 requests, 9}: 10 11buildPythonPackage rec { 12 pname = "pyixapi"; 13 version = "0.2.7"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "peering-manager"; 18 repo = "pyixapi"; 19 tag = version; 20 hash = "sha256-pKIm9YCWf5HCwJ76NLm6AmcJWGVErZu9dwl23p8maXs="; 21 }; 22 23 pythonRelaxDeps = [ "pyjwt" ]; 24 25 build-system = [ poetry-core ]; 26 27 dependencies = [ 28 requests 29 pyjwt 30 ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 pythonImportsCheck = [ "pyixapi" ]; 35 36 meta = { 37 description = "Python API client library for IX-API"; 38 homepage = "https://github.com/peering-manager/pyixapi/"; 39 changelog = "https://github.com/peering-manager/pyixapi/releases/tag/${src.tag}"; 40 license = lib.licenses.asl20; 41 }; 42}