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";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "5.3.0";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-veDhwpSXPtoi27tKI6xebH4haAeq+sUsEEk9TxQSbg4=";
|
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
|
|
|
|
];
|
|
|
|
|
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; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|