b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
41 lines
731 B
Nix
41 lines
731 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, google-auth
|
|
, google-auth-oauthlib
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gspread";
|
|
version = "5.5.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hiDph+U0AxXyuNjSbPl+RzaoSzMloXx9m8/3BSXcMAM=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|