diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-21 08:57:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-21 08:57:33 +0200 |
| commit | 7988d6ba49323a83c5724ef2777bc4aaa66befb3 (patch) | |
| tree | 7194db2830167d59f8423ce780e13af3f50f304b /pkgs/development/python-modules/python-swiftclient | |
| parent | 53baa40afcab6c6d0cb305a76fbf947e84f0a4c9 (diff) | |
python310Packages.python-swiftclient: disable on older Python releases
Diffstat (limited to 'pkgs/development/python-modules/python-swiftclient')
| -rw-r--r-- | pkgs/development/python-modules/python-swiftclient/default.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/python-swiftclient/default.nix b/pkgs/development/python-modules/python-swiftclient/default.nix index 44f1882f65a5..ed72db7a5821 100644 --- a/pkgs/development/python-modules/python-swiftclient/default.nix +++ b/pkgs/development/python-modules/python-swiftclient/default.nix @@ -11,13 +11,19 @@ buildPythonApplication rec { pname = "python-swiftclient"; version = "4.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-V7bx/yO0ZoQ4AqaBb0trvGiWtq0F1ld6/udiK+OilTg="; + hash = "sha256-V7bx/yO0ZoQ4AqaBb0trvGiWtq0F1ld6/udiK+OilTg="; }; - propagatedBuildInputs = [ pbr python-keystoneclient ]; + propagatedBuildInputs = [ + pbr + python-keystoneclient + ]; checkInputs = [ mock @@ -33,7 +39,9 @@ buildPythonApplication rec { stestr run ''; - pythonImportsCheck = [ "swiftclient" ]; + pythonImportsCheck = [ + "swiftclient" + ]; meta = with lib; { homepage = "https://github.com/openstack/python-swiftclient"; |
