at master 1.2 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 netaddr, 6 oslo-concurrency, 7 oslo-config, 8 oslo-serialization, 9 oslo-utils, 10 prettytable, 11 requests, 12 setuptools, 13 webob, 14}: 15 16buildPythonPackage rec { 17 pname = "osprofiler"; 18 version = "4.3.0"; 19 pyproject = true; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-d6jaKyO7X5BIBUvVzMRdCshFdMqKiO8SC4+sbohk4kw="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 netaddr 30 oslo-concurrency 31 oslo-config 32 oslo-serialization 33 oslo-utils 34 prettytable 35 requests 36 webob 37 ]; 38 39 # NOTE(vinetos): OSProfiler depends on jeager-client which use opentracing 40 # Opentracing and jeager-client are archived since 2022. 41 # As this package is made only to support old OpenStack clients and bindings, 42 # We do not really care 43 doCheck = false; 44 45 pythonImportsCheck = [ "osprofiler" ]; 46 47 meta = with lib; { 48 description = "OpenStack Library to profile request between all involved services"; 49 homepage = "https://opendev.org/openstack/osprofiler/"; 50 license = licenses.asl20; 51 mainProgram = "osprofiler"; 52 teams = [ teams.openstack ]; 53 }; 54}