1{
2 lib,
3 buildPythonPackage,
4 click,
5 fetchFromGitHub,
6 google-auth,
7 packaging,
8 pytestCheckHook,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "google-cloud-testutils";
14 version = "1.6.4";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "googleapis";
19 repo = "python-test-utils";
20 tag = "v${version}";
21 hash = "sha256-VTu/ElWZrSUrUBrfLPTBV4PMSQCRAyF9Ka7jKEqVzLk=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 click
28 google-auth
29 packaging
30 ];
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 ];
35
36 pythonImportsCheck = [ "test_utils" ];
37
38 meta = {
39 description = "System test utilities for google-cloud-python";
40 mainProgram = "lower-bound-checker";
41 homepage = "https://github.com/googleapis/python-test-utils";
42 changelog = "https://github.com/googleapis/python-test-utils/blob/${src.tag}/CHANGELOG.md";
43 license = lib.licenses.asl20;
44 maintainers = [ lib.maintainers.sarahec ];
45 };
46}