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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
{
lib,
buildPythonPackage,
cliff,
fetchPypi,
keystoneauth1,
makePythonPath,
openstackdocstheme,
installer,
osc-lib,
oslo-serialization,
oslo-utils,
pbr,
python-neutronclient,
requests,
setuptools,
sphinx,
sphinxcontrib-apidoc,
callPackage,
}:
buildPythonPackage rec {
pname = "python-octaviaclient";
version = "3.12.0";
pyproject = true;
src = fetchPypi {
pname = "python_octaviaclient";
inherit version;
hash = "sha256-5brfxkpJQousEcXl0YerzYDjrfl0XyWV0RXPTz146Y4=";
};
# NOTE(vinetos): This explicit dependency is removed to avoid infinite recursion
pythonRemoveDeps = [ "python-openstackclient" ];
build-system = [
setuptools
pbr
];
nativeBuildInputs = [
openstackdocstheme
sphinx
sphinxcontrib-apidoc
];
dependencies = [
cliff
keystoneauth1
python-neutronclient
osc-lib
oslo-serialization
oslo-utils
requests
];
# Checks moved to 'passthru.tests' to workaround infinite recursion
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "octaviaclient" ];
meta = {
description = "OpenStack Octavia Command-line Client";
homepage = "https://github.com/openstack/python-octaviaclient";
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}
|