blob: f4eb83ef4c3c58ef9c5b0fd715ae657e0d77523d (
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
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
buildPythonPackage,
fetchPypi,
netaddr,
oslo-concurrency,
oslo-config,
oslo-serialization,
oslo-utils,
prettytable,
requests,
setuptools,
webob,
}:
buildPythonPackage rec {
pname = "osprofiler";
version = "4.3.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-d6jaKyO7X5BIBUvVzMRdCshFdMqKiO8SC4+sbohk4kw=";
};
build-system = [ setuptools ];
dependencies = [
netaddr
oslo-concurrency
oslo-config
oslo-serialization
oslo-utils
prettytable
requests
webob
];
# NOTE(vinetos): OSProfiler depends on jeager-client which use opentracing
# Opentracing and jeager-client are archived since 2022.
# As this package is made only to support old OpenStack clients and bindings,
# We do not really care
doCheck = false;
pythonImportsCheck = [ "osprofiler" ];
meta = {
description = "OpenStack Library to profile request between all involved services";
homepage = "https://opendev.org/openstack/osprofiler/";
license = lib.licenses.asl20;
mainProgram = "osprofiler";
teams = [ lib.teams.openstack ];
};
}
|