Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
854 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
msgpack,
oslo-utils,
oslotest,
pbr,
setuptools,
stestr,
}:
buildPythonPackage rec {
pname = "oslo-serialization";
version = "5.8.0";
pyproject = true;
src = fetchPypi {
pname = "oslo_serialization";
inherit version;
hash = "sha256-WHGmKyP5jKzVUYSClBrm0qmD4pNu1S1UOtCGhdxtI0M=";
};
build-system = [
pbr
setuptools
];
dependencies = [
msgpack
oslo-utils
];
nativeCheckInputs = [
oslotest
stestr
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
pythonImportsCheck = [ "oslo_serialization" ];
meta = with lib; {
description = "Oslo Serialization library";
homepage = "https://github.com/openstack/oslo.serialization";
license = licenses.asl20;
teams = [ teams.openstack ];
};
}