{ lib , buildPythonPackage , fetchPypi , alembic , oslo-config , oslo-context , oslo-utils , oslotest , pbr , sqlalchemy , sqlalchemy_migrate , stestr , testresources , testscenarios }: buildPythonPackage rec { pname = "oslo-db"; version = "11.0.0"; src = fetchPypi { pname = "oslo.db"; inherit version; sha256 = "0cd5679868c0a0d194c916cc855348890820c3183b34a039af1e8698dac7afbf"; }; nativeBuildInputs = [ pbr ]; propagatedBuildInputs = [ alembic oslo-config oslo-context oslo-utils sqlalchemy sqlalchemy_migrate testresources testscenarios ]; checkInputs = [ oslotest stestr ]; checkPhase = '' stestr run ''; pythonImportsCheck = [ "oslo_db" ]; meta = with lib; { description = "Oslo Database library"; homepage = "https://github.com/openstack/oslo.db"; license = licenses.asl20; maintainers = teams.openstack.members; }; }