python39Packages.oslo-log: 4.6.0

This commit is contained in:
Sandro Jäckel 2021-09-11 12:14:53 +02:00
parent b5c7704111
commit 76dd2dbadf
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,54 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, oslo-config
, oslo-context
, oslo-serialization
, oslo-utils
, oslotest
, pbr
, pyinotify
, python-dateutil
, stestr
}:
buildPythonPackage rec {
pname = "oslo-log";
version = "4.6.0";
src = fetchPypi {
pname = "oslo.log";
inherit version;
sha256 = "dad5d7ff1290f01132b356d36a1bb79f98a3929d5005cce73e849ed31b385ba7";
};
propagatedBuildInputs = [
oslo-config
oslo-context
oslo-serialization
oslo-utils
pbr
python-dateutil
] ++ lib.optionals stdenv.isLinux [
pyinotify
];
checkInputs = [
oslotest
stestr
];
checkPhase = ''
stestr run
'';
pythonImportsCheck = [ "oslo_log" ];
meta = with lib; {
description = "oslo.log library";
homepage = "https://github.com/openstack/oslo.log";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}

View file

@ -5164,6 +5164,8 @@ in {
oslo-i18n = callPackage ../development/python-modules/oslo-i18n { }; oslo-i18n = callPackage ../development/python-modules/oslo-i18n { };
oslo-log = callPackage ../development/python-modules/oslo-log { };
osqp = callPackage ../development/python-modules/osqp { }; osqp = callPackage ../development/python-modules/osqp { };
outcome = callPackage ../development/python-modules/outcome { }; outcome = callPackage ../development/python-modules/outcome { };