Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.1 KiB
Nix
55 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.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 = with lib; {
|
|
description = "OpenStack Library to profile request between all involved services";
|
|
homepage = "https://opendev.org/openstack/osprofiler/";
|
|
license = licenses.asl20;
|
|
mainProgram = "osprofiler";
|
|
teams = [ teams.openstack ];
|
|
};
|
|
}
|