mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-15 20:40:32 +08:00
python39Packages.python-openstackclient: init at 5.6.0
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ddt
|
||||
, osc-lib
|
||||
, pbr
|
||||
, python-cinderclient
|
||||
, python-keystoneclient
|
||||
, python-novaclient
|
||||
, requests-mock
|
||||
, stestr
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-openstackclient";
|
||||
version = "5.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0abc6666378c5a7db83ec83515a8524fb6246a919236110169cc5c216ac997ea";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
osc-lib
|
||||
pbr
|
||||
python-cinderclient
|
||||
python-keystoneclient
|
||||
python-novaclient
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
ddt
|
||||
stestr
|
||||
requests-mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "openstackclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenStack Command-line Client";
|
||||
homepage = "https://github.com/openstack/python-openstackclient";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user