diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-09-12 00:06:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-12 00:06:57 +0000 |
| commit | f4348351a4b1bca529c6148e8385a0e6ab770832 (patch) | |
| tree | d230a7d18fc2486a2b3e287e1ecaea847ef4843d /pkgs/development/python-modules/python-openstackclient | |
| parent | 749cb69b2447ffc44cefc073d0774759902fcf07 (diff) | |
| parent | 6bbea21500a434747aa87d50f5a9323736f84392 (diff) | |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
| -rw-r--r-- | pkgs/development/python-modules/python-openstackclient/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix new file mode 100644 index 000000000000..d538c01acc66 --- /dev/null +++ b/pkgs/development/python-modules/python-openstackclient/default.nix @@ -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; + }; +} |
