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