nixpkgs-suyu/pkgs/development/python-modules/gspread/default.nix
2022-02-28 10:54:25 -08:00

29 lines
562 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, google-auth
, google-auth-oauthlib
}:
buildPythonPackage rec {
version = "5.2.0";
pname = "gspread";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-JRc6wIFGnPnWIVFMZXbGz0bznIJfF4uMueeDdKY3sL8=";
};
propagatedBuildInputs = [ requests google-auth google-auth-oauthlib ];
meta = with lib; {
description = "Google Spreadsheets client library";
homepage = "https://github.com/burnash/gspread";
license = licenses.mit;
};
# No tests included
doCheck = false;
}