blob: 242d725ae3aae69f5a8716a2d64fc0d6b647fb14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pyjwt,
pytestCheckHook,
requests,
}:
buildPythonPackage rec {
pname = "pyixapi";
version = "0.2.6";
pyproject = true;
src = fetchFromGitHub {
owner = "peering-manager";
repo = "pyixapi";
tag = version;
hash = "sha256-NS8rVzLpEtpuLal6sApXI3hjASiIeXZuZ4xyj9Zv1k0=";
};
pythonRelaxDeps = [ "pyjwt" ];
build-system = [ poetry-core ];
dependencies = [
requests
pyjwt
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyixapi" ];
meta = {
description = "Python API client library for IX-API";
homepage = "https://github.com/peering-manager/pyixapi/";
changelog = "https://github.com/peering-manager/pyixapi/releases/tag/${src.tag}";
license = lib.licenses.asl20;
};
}
|