{ lib, buildPythonPackage, fetchFromGitHub, httplib2, keystoneauth1, openstackdocstheme, osc-lib, oslo-i18n, oslo-utils, pbr, prettytable, python-mistralclient, python-openstackclient, python-swiftclient, pythonOlder, requests-mock, requests, setuptools, sphinxcontrib-apidoc, sphinxHook, stestr, stevedore, }: buildPythonPackage rec { pname = "python-troveclient"; version = "8.6.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "openstack"; repo = "python-troveclient"; rev = "refs/tags/${version}"; hash = "sha256-6JviPG2ikKRqvW/eqPIHMvpV6GjqbaXYHhcOOpaIS4U="; }; env.PBR_VERSION = version; nativeBuildInputs = [ openstackdocstheme sphinxHook sphinxcontrib-apidoc ]; sphinxBuilders = [ "man" ]; build-system = [ pbr setuptools ]; dependencies = [ keystoneauth1 osc-lib oslo-i18n oslo-utils prettytable python-mistralclient python-openstackclient python-swiftclient requests stevedore ]; nativeCheckInputs = [ httplib2 requests-mock stestr ]; checkPhase = '' runHook preCheck stestr run runHook postCheck ''; pythonImportsCheck = [ "troveclient" ]; meta = { homepage = "https://github.com/openstack/python-troveclient"; description = "Client library for OpenStack Trove API"; license = lib.licenses.asl20; mainProgram = "trove"; maintainers = lib.teams.openstack.members; }; }