2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 20:46:14 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-08-17 15:56:33 +00:00
|
|
|
, requests
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-auth
|
2020-08-23 21:08:22 +00:00
|
|
|
, google-auth-oauthlib
|
2018-10-16 20:46:14 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-10 16:27:10 +00:00
|
|
|
version = "3.7.0";
|
2018-10-16 20:46:14 +00:00
|
|
|
pname = "gspread";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-10 16:27:10 +00:00
|
|
|
sha256 = "4bda4ab8c5edb9e41cf4ae40d4d5fb30447522b4e43608e05c01351ab1b96912";
|
2018-10-16 20:46:14 +00:00
|
|
|
};
|
|
|
|
|
2021-01-06 09:46:48 +00:00
|
|
|
propagatedBuildInputs = [ requests google-auth google-auth-oauthlib ];
|
2019-08-17 15:56:33 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 20:46:14 +00:00
|
|
|
description = "Google Spreadsheets client library";
|
|
|
|
homepage = "https://github.com/burnash/gspread";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
2019-08-17 15:56:33 +00:00
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-10-16 20:46:14 +00:00
|
|
|
}
|