5557ff764c
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
63 lines
1 KiB
Nix
63 lines
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.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-yYmzZuwZSasN6g6Bosivexe5oOy3dP+l/cD5TkXC87g=";
|
|
};
|
|
|
|
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).";
|
|
homepage = "https://github.com/openstack/python-ironicclient";
|
|
license = licenses.asl20;
|
|
maintainers = teams.openstack.members;
|
|
};
|
|
}
|