mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
python12Packages.osprofiler: init at 4.1.0
This commit is contained in:
parent
22e16c025f
commit
3b9b9b38d7
51
pkgs/development/python-modules/osprofiler/default.nix
Normal file
51
pkgs/development/python-modules/osprofiler/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user