blob: 91895d345aa4562086bb881729e566037e9c3247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
google-auth,
google-auth-oauthlib,
pytest-vcr,
pytestCheckHook,
strenum,
}:
buildPythonPackage rec {
pname = "gspread";
version = "6.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "burnash";
repo = "gspread";
tag = "v${version}";
hash = "sha256-j7UNti5N8c1mjw+1qTPIRCWJ6M4Ur0P9sG1uJnp170M=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
google-auth
google-auth-oauthlib
strenum
];
nativeCheckInputs = [
pytest-vcr
pytestCheckHook
];
pythonImportsCheck = [ "gspread" ];
meta = {
description = "Google Spreadsheets client library";
homepage = "https://github.com/burnash/gspread";
changelog = "https://github.com/burnash/gspread/blob/${src.tag}/HISTORY.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|