python12Packages.osprofiler: init at 4.1.0

This commit is contained in:
Valentin Chassignol 2024-07-11 11:34:30 +02:00 committed by Vinetos
parent 22e16c025f
commit 3b9b9b38d7
No known key found for this signature in database
GPG Key ID: 7F9A3DD5F8A18F8B
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchPypi,
netaddr,
oslo-concurrency,
oslo-serialization,
oslo-utils,
prettytable,
requests,
setuptools,
webob,
}:
buildPythonPackage rec {
pname = "osprofiler";
version = "4.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-V4N7YgWBsTREouIFZHddT8c+/2fHiIr5mUftWC/lFLA=";
};
build-system = [ setuptools ];
dependencies = [
netaddr
oslo-concurrency
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;
maintainers = teams.openstack.members;
};
}

View File

@ -9761,6 +9761,8 @@ self: super: with self; {
ospd = callPackage ../development/python-modules/ospd { };
osprofiler = callPackage ../development/python-modules/osprofiler { };
osqp = callPackage ../development/python-modules/osqp { };
oss2 = callPackage ../development/python-modules/oss2 { };