nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5, google-auth
6, google-auth-oauthlib
7}:
8
9buildPythonPackage rec {
10 version = "5.3.2";
11 pname = "gspread";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-MZdm2Q2wUFYpP37grSs1UDoaQGg6dYl6KSI5jNIBYoM=";
16 };
17
18 propagatedBuildInputs = [ requests google-auth google-auth-oauthlib ];
19
20 meta = with lib; {
21 description = "Google Spreadsheets client library";
22 homepage = "https://github.com/burnash/gspread";
23 license = licenses.mit;
24 };
25
26 # No tests included
27 doCheck = false;
28
29}