1{
2 lib,
3 buildPythonPackage,
4 click,
5 fetchPypi,
6 google-auth,
7 packaging,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "google-cloud-testutils";
13 version = "1.6.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 pname = "google_cloud_testutils";
20 inherit version;
21 hash = "sha256-wuCpUpc5Iny6MFoh7u9d175wL9DWHz4ZLM1f+DE+V6U=";
22 };
23
24 propagatedBuildInputs = [
25 click
26 google-auth
27 packaging
28 ];
29
30 # does not contain tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "test_utils" ];
34
35 meta = with lib; {
36 description = "System test utilities for google-cloud-python";
37 mainProgram = "lower-bound-checker";
38 homepage = "https://github.com/googleapis/python-test-utils";
39 changelog = "https://github.com/googleapis/python-test-utils/blob/v${version}/CHANGELOG.md";
40 license = licenses.asl20;
41 maintainers = [ ];
42 };
43}