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