python3Packages.google-cloud-redis: disable on older Python releases
This commit is contained in:
parent
5ec590aa3a
commit
cbf4eb555c
1 changed files with 15 additions and 3 deletions
|
@ -7,20 +7,32 @@
|
||||||
, proto-plus
|
, proto-plus
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-redis";
|
pname = "google-cloud-redis";
|
||||||
version = "2.7.0";
|
version = "2.7.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-i3jgEaAJ0zEaJWtpzhOe23CtpUpt1ON4gXnVvSG8fTI=";
|
hash = "sha256-i3jgEaAJ0zEaJWtpzhOe23CtpUpt1ON4gXnVvSG8fTI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
propagatedBuildInputs = [
|
||||||
|
google-api-core
|
||||||
|
libcst
|
||||||
|
proto-plus
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"google.cloud.redis"
|
"google.cloud.redis"
|
||||||
|
|
Loading…
Reference in a new issue