2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
cliff,
|
|
|
|
dogpile-cache,
|
|
|
|
jsonschema,
|
|
|
|
keystoneauth1,
|
|
|
|
openstacksdk,
|
|
|
|
osc-lib,
|
|
|
|
oslo-utils,
|
|
|
|
oslotest,
|
|
|
|
pbr,
|
|
|
|
platformdirs,
|
|
|
|
pyyaml,
|
|
|
|
requests,
|
|
|
|
requests-mock,
|
|
|
|
stestr,
|
|
|
|
stevedore,
|
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-ironicclient";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "5.6.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-zWlfy+Pfu0l7vBQnLOIP9vaXzx+i35k4oQqPUtLg3cE=";
|
2021-09-22 15:38:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cliff
|
2021-12-06 16:07:01 +00:00
|
|
|
dogpile-cache
|
2021-09-22 15:38:15 +00:00
|
|
|
jsonschema
|
|
|
|
keystoneauth1
|
|
|
|
openstacksdk
|
|
|
|
osc-lib
|
|
|
|
oslo-utils
|
2024-06-05 15:53:02 +00:00
|
|
|
pbr
|
|
|
|
platformdirs
|
2021-09-22 15:38:15 +00:00
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
stevedore
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-09-22 15:38:15 +00:00
|
|
|
stestr
|
|
|
|
requests-mock
|
|
|
|
oslotest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
stestr run
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "ironicclient" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Client for OpenStack bare metal provisioning API, includes a Python module (ironicclient) and CLI (baremetal)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "baremetal";
|
2021-09-22 15:38:15 +00:00
|
|
|
homepage = "https://github.com/openstack/python-ironicclient";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
|
|
|
};
|
|
|
|
}
|