python3Packages.google-cloud-bigtable: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-02-26 09:41:38 +01:00 committed by GitHub
parent 5f056712f0
commit a06b41a02f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,15 +8,19 @@
, mock , mock
, proto-plus , proto-plus
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-bigtable"; pname = "google-cloud-bigtable";
version = "2.5.2"; version = "2.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-2ot8e34FbJ51dByIp+3Tq0OggpKbjqZAjwNxUZtnf0I="; hash = "sha256-2ot8e34FbJ51dByIp+3Tq0OggpKbjqZAjwNxUZtnf0I=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -51,6 +55,6 @@ buildPythonPackage rec {
description = "Google Cloud Bigtable API client library"; description = "Google Cloud Bigtable API client library";
homepage = "https://github.com/googleapis/python-bigtable"; homepage = "https://github.com/googleapis/python-bigtable";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }