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