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 {
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";

Loading…
Cancel
Save