2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
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 {
|
2020-06-06 06:47:12 +00:00
|
|
|
version = "3.6.0";
|
2018-10-16 20:46:14 +00:00
|
|
|
pname = "gspread";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 06:47:12 +00:00
|
|
|
sha256 = "e04f1a6267b3929fc1600424c5ec83906d439672cafdd61a9d5b916a139f841c";
|
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
|
|
|
}
|