anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pyixapi / default.nix
blob50c825dcc959da5fa97cd47cbc65efe1d332296d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pyjwt,
7   pythonOlder,
8   pytestCheckHook,
9   requests,
12 buildPythonPackage rec {
13   pname = "pyixapi";
14   version = "0.2.3";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "peering-manager";
21     repo = "pyixapi";
22     rev = "refs/tags/${version}";
23     hash = "sha256-IiLjxOtyxGSaItxgEbsF8AER/j4Qe7SP9ZAEPjTiYI4=";
24   };
26   pythonRelaxDeps = [ "pyjwt" ];
28   build-system = [ poetry-core ];
30   dependencies = [
31     requests
32     pyjwt
33   ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonImportsCheck = [ "pyixapi" ];
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   };