python39Packages.oslo-serialization: init at 4.2.0
This commit is contained in:
parent
76dd2dbadf
commit
ec305549b4
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, msgpack
|
||||
, oslo-utils
|
||||
, oslotest
|
||||
, pbr
|
||||
, pytz
|
||||
, stestr
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oslo-serialization";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "oslo.serialization";
|
||||
inherit version;
|
||||
sha256 = "3007e1b017ad3754cce54def894054cbcd05887e85928556657434b0fc7e4d83";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# only a small portion of the listed packages are actually needed for running the tests
|
||||
# so instead of removing them one by one remove everything
|
||||
rm test-requirements.txt
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pbr ];
|
||||
|
||||
propagatedBuildInputs = [ msgpack oslo-utils pytz ];
|
||||
|
||||
checkInputs = [ oslotest stestr ];
|
||||
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "oslo_serialization" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Oslo Serialization library";
|
||||
homepage = "https://github.com/openstack/oslo.serialization";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
@ -5166,6 +5166,8 @@ in {
|
||||
|
||||
oslo-log = callPackage ../development/python-modules/oslo-log { };
|
||||
|
||||
oslo-serialization = callPackage ../development/python-modules/oslo-serialization { };
|
||||
|
||||
osqp = callPackage ../development/python-modules/osqp { };
|
||||
|
||||
outcome = callPackage ../development/python-modules/outcome { };
|
||||
|
Loading…
Reference in New Issue
Block a user