2021-09-22 15:38:15 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
, pbr
|
|
|
|
, appdirs
|
|
|
|
, 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
|
|
|
|
, pyyaml
|
|
|
|
, requests
|
|
|
|
, stevedore
|
|
|
|
, stestr
|
|
|
|
, requests-mock
|
|
|
|
, oslotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "python-ironicclient";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "4.11.0";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-zGG/3Cq7mARyuGGvqa4KGWFmx/UN+W2KMuy+RNenzXM=";
|
2021-09-22 15:38:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pbr
|
|
|
|
appdirs
|
|
|
|
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
|
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
stevedore
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
stestr
|
|
|
|
requests-mock
|
|
|
|
oslotest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
stestr run
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "ironicclient" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A client for OpenStack bare metal provisioning API, includes a Python module (ironicclient) and CLI (baremetal).";
|
|
|
|
homepage = "https://github.com/openstack/python-ironicclient";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
|
|
|
};
|
|
|
|
}
|