nixpkgs/pkgs/development/python-modules/gspread/default.nix
2022-05-31 21:12:25 +00:00

29 lines
562 B
Nix

{ 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;
}