b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
63 lines
1.1 KiB
Nix
63 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchPypi
|
|
, pbr
|
|
, appdirs
|
|
, cliff
|
|
, dogpile-cache
|
|
, jsonschema
|
|
, keystoneauth1
|
|
, openstacksdk
|
|
, osc-lib
|
|
, oslo-utils
|
|
, pyyaml
|
|
, requests
|
|
, stevedore
|
|
, stestr
|
|
, requests-mock
|
|
, oslotest
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "python-ironicclient";
|
|
version = "5.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-7RawbJ5O5KCruD499fOkuFcouBzp3f7aEUnE37wJqmM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pbr
|
|
appdirs
|
|
cliff
|
|
dogpile-cache
|
|
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;
|
|
};
|
|
}
|