python310Packages.google-cloud-datastore: disable on older Python releases
- add optional-dependencies
This commit is contained in:
parent
097aeaa976
commit
40cc6d4969
@ -9,24 +9,33 @@
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, google-cloud-testutils
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-datastore";
|
||||
version = "2.9.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-8/gmeLpdheW7M9nhM0uTlxrpeRcODSgLVOVKPj9O870=";
|
||||
hash = "sha256-8/gmeLpdheW7M9nhM0uTlxrpeRcODSgLVOVKPj9O870=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-api-core
|
||||
google-cloud-core
|
||||
libcst
|
||||
proto-plus
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
libcst = [
|
||||
libcst
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
google-cloud-testutils
|
||||
mock
|
||||
|
Loading…
Reference in New Issue
Block a user