2021-09-22 15:38:15 +00:00
|
|
|
{ lib
|
2022-10-30 15:09:59 +00:00
|
|
|
, buildPythonPackage
|
2021-09-22 15:38:15 +00:00
|
|
|
, 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
|
|
|
|
}:
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
buildPythonPackage rec {
|
2021-09-22 15:38:15 +00:00
|
|
|
pname = "python-ironicclient";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "5.0.1";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-7RawbJ5O5KCruD499fOkuFcouBzp3f7aEUnE37wJqmM=";
|
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;
|
|
|
|
};
|
|
|
|
}
|