python310Packages.gspread: add pythonImportsCheck

- disable on older Python releases
This commit is contained in:
Fabian Affolter
2022-09-01 05:26:23 +02:00
committed by GitHub
parent ff223193cb
commit 3b80d3febb
@@ -4,26 +4,38 @@
, requests
, google-auth
, google-auth-oauthlib
, pythonOlder
}:
buildPythonPackage rec {
version = "5.5.0";
pname = "gspread";
version = "5.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-hiDph+U0AxXyuNjSbPl+RzaoSzMloXx9m8/3BSXcMAM=";
hash = "sha256-hiDph+U0AxXyuNjSbPl+RzaoSzMloXx9m8/3BSXcMAM=";
};
propagatedBuildInputs = [ requests google-auth google-auth-oauthlib ];
propagatedBuildInputs = [
requests
google-auth
google-auth-oauthlib
];
# No tests included
doCheck = false;
pythonImportsCheck = [
"gspread"
];
meta = with lib; {
description = "Google Spreadsheets client library";
homepage = "https://github.com/burnash/gspread";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
# No tests included
doCheck = false;
}