159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
netaddr,
|
|
oslo-concurrency,
|
|
oslo-config,
|
|
oslo-serialization,
|
|
oslo-utils,
|
|
prettytable,
|
|
requests,
|
|
setuptools,
|
|
webob,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "osprofiler";
|
|
version = "4.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-bdHEviZFqPJBIQVdpbtGFojcr8fmtNS6vA7xumaQJ4E=";
|
|
};
|
|
|
|
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 = with lib; {
|
|
description = "OpenStack Library to profile request between all involved services";
|
|
homepage = "https://opendev.org/openstack/osprofiler/";
|
|
license = licenses.asl20;
|
|
mainProgram = "osprofiler";
|
|
maintainers = teams.openstack.members;
|
|
};
|
|
}
|