depot/third_party/nixpkgs/pkgs/development/python-modules/gspread/default.nix

30 lines
562 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, requests
, google-auth
, google-auth-oauthlib
}:
buildPythonPackage rec {
version = "5.4.0";
pname = "gspread";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-thcrYvqJnj5BmdLQ6hAItkMFVUugjT06lukSOCT97Eg=";
};
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;
}