92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
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.6.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-07v/S3qtD8LJhkWOFIU3oC/ntG5xYvQfOkI5K/oq24k=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|