python310Packages.python-swiftclient: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent 53baa40afc
commit 7988d6ba49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      pkgs/development/python-modules/python-swiftclient/default.nix

@ -11,13 +11,19 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "python-swiftclient"; pname = "python-swiftclient";
version = "4.0.0"; version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-V7bx/yO0ZoQ4AqaBb0trvGiWtq0F1ld6/udiK+OilTg="; hash = "sha256-V7bx/yO0ZoQ4AqaBb0trvGiWtq0F1ld6/udiK+OilTg=";
}; };
propagatedBuildInputs = [ pbr python-keystoneclient ]; propagatedBuildInputs = [
pbr
python-keystoneclient
];
checkInputs = [ checkInputs = [
mock mock
@ -33,7 +39,9 @@ buildPythonApplication rec {
stestr run stestr run
''; '';
pythonImportsCheck = [ "swiftclient" ]; pythonImportsCheck = [
"swiftclient"
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/openstack/python-swiftclient"; homepage = "https://github.com/openstack/python-swiftclient";

Loading…
Cancel
Save