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