587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pbr
|
|
, appdirs
|
|
, cliff
|
|
, dogpile-cache
|
|
, jsonschema
|
|
, keystoneauth1
|
|
, openstacksdk
|
|
, osc-lib
|
|
, oslo-utils
|
|
, pyyaml
|
|
, requests
|
|
, stevedore
|
|
, stestr
|
|
, requests-mock
|
|
, oslotest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-ironicclient";
|
|
version = "5.5.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-JlO487QSPsBJZqPYRhsQYFA7noIN2q/stH4eZXAFLnY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pbr
|
|
appdirs
|
|
cliff
|
|
dogpile-cache
|
|
jsonschema
|
|
keystoneauth1
|
|
openstacksdk
|
|
osc-lib
|
|
oslo-utils
|
|
pyyaml
|
|
requests
|
|
stevedore
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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).";
|
|
mainProgram = "baremetal";
|
|
homepage = "https://github.com/openstack/python-ironicclient";
|
|
license = licenses.asl20;
|
|
maintainers = teams.openstack.members;
|
|
};
|
|
}
|