2018-10-16 21:46:14 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-08-17 16:56:33 +01:00
|
|
|
, requests
|
2020-08-16 00:17:59 +01:00
|
|
|
, google_auth
|
2020-08-23 22:08:22 +01:00
|
|
|
, google-auth-oauthlib
|
2018-10-16 21:46:14 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-06 07:47:12 +01:00
|
|
|
version = "3.6.0";
|
2018-10-16 21:46:14 +01:00
|
|
|
pname = "gspread";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:12 +01:00
|
|
|
sha256 = "e04f1a6267b3929fc1600424c5ec83906d439672cafdd61a9d5b916a139f841c";
|
2018-10-16 21:46:14 +01:00
|
|
|
};
|
|
|
|
|
2020-08-23 22:08:22 +01:00
|
|
|
propagatedBuildInputs = [ requests google_auth google-auth-oauthlib ];
|
2019-08-17 16:56:33 +01:00
|
|
|
|
2018-10-16 21:46:14 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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
|
|
|
}
|