94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
42 lines
814 B
Nix
42 lines
814 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, google-auth
|
|
, google-auth-oauthlib
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gspread";
|
|
version = "5.9.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-NLl4NLvvrM9ySXcCuuJtEvltBoXkmkGK/mqSqbvLnJw=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/burnash/gspread/blob/v${version}/HISTORY.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|