depot/third_party/nixpkgs/pkgs/development/python-modules/gspread/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

41 lines
731 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, google-auth
, google-auth-oauthlib
, pythonOlder
}:
buildPythonPackage rec {
pname = "gspread";
version = "5.7.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-XznXohg0O2UU8G4iUODEE+tOgU3eaqv0hdrLaqMcqrA=";
};
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";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}