2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pbr,
|
|
|
|
openstackdocstheme,
|
|
|
|
oslo-config,
|
|
|
|
oslo-log,
|
|
|
|
oslo-serialization,
|
|
|
|
oslo-utils,
|
|
|
|
prettytable,
|
|
|
|
requests,
|
2024-07-31 10:19:44 +00:00
|
|
|
setuptools,
|
|
|
|
sphinxHook,
|
2024-06-05 15:53:02 +00:00
|
|
|
sphinxcontrib-programoutput,
|
|
|
|
babel,
|
|
|
|
osc-lib,
|
|
|
|
python-keystoneclient,
|
|
|
|
debtcollector,
|
|
|
|
callPackage,
|
2021-09-22 15:38:15 +00:00
|
|
|
}:
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
buildPythonPackage rec {
|
2021-09-22 15:38:15 +00:00
|
|
|
pname = "python-manilaclient";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "5.0.0";
|
2024-07-31 10:19:44 +00:00
|
|
|
pyproject = true;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-Mk/MSEYj/poibXl+h318gN3rTuNC/ebhKYO3/ACA4II=";
|
2021-09-22 15:38:15 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
build-system = [
|
2022-02-20 05:27:41 +00:00
|
|
|
openstackdocstheme
|
2024-07-31 10:19:44 +00:00
|
|
|
setuptools
|
|
|
|
sphinxHook
|
2022-02-20 05:27:41 +00:00
|
|
|
sphinxcontrib-programoutput
|
|
|
|
];
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
sphinxBuilders = [ "man" ];
|
|
|
|
|
|
|
|
dependencies = [
|
2021-09-22 15:38:15 +00:00
|
|
|
pbr
|
|
|
|
oslo-config
|
|
|
|
oslo-log
|
|
|
|
oslo-serialization
|
|
|
|
oslo-utils
|
|
|
|
prettytable
|
|
|
|
requests
|
2022-05-18 14:49:53 +00:00
|
|
|
babel
|
2021-09-22 15:38:15 +00:00
|
|
|
osc-lib
|
|
|
|
python-keystoneclient
|
|
|
|
debtcollector
|
|
|
|
];
|
|
|
|
|
|
|
|
# Checks moved to 'passthru.tests' to workaround infinite recursion
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.tests = {
|
|
|
|
tests = callPackage ./tests.nix { };
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "manilaclient" ];
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Client library for OpenStack Manila API";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "manila";
|
2021-09-22 15:38:15 +00:00
|
|
|
homepage = "https://github.com/openstack/python-manilaclient";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
|
|
|
};
|
|
|
|
}
|