2022-12-28 14:27:15 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, click
|
2022-12-28 14:28:57 +00:00
|
|
|
, fetchPypi
|
2022-12-28 14:27:15 +00:00
|
|
|
, google-auth
|
|
|
|
, packaging
|
2022-12-28 14:28:57 +00:00
|
|
|
, pythonOlder
|
2022-12-28 14:27:15 +00:00
|
|
|
}:
|
2018-11-02 18:33:49 +00:00
|
|
|
|
2020-11-03 01:19:08 +00:00
|
|
|
buildPythonPackage rec {
|
2018-11-02 18:33:49 +00:00
|
|
|
pname = "google-cloud-testutils";
|
2022-07-16 10:59:10 +00:00
|
|
|
version = "1.3.3";
|
2022-12-28 14:28:57 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2018-11-02 18:33:49 +00:00
|
|
|
|
2020-11-03 01:19:08 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-bRjvNNmvsBy0sR4C0DoC/n7A9ez6AfXUJrXZiHKkz0g=";
|
2018-11-02 18:33:49 +00:00
|
|
|
};
|
|
|
|
|
2022-12-28 14:28:57 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
google-auth
|
|
|
|
packaging
|
|
|
|
];
|
2018-11-02 18:33:49 +00:00
|
|
|
|
2021-01-05 12:20:23 +00:00
|
|
|
# does not contain tests
|
2020-11-03 01:19:08 +00:00
|
|
|
doCheck = false;
|
2018-11-02 18:33:49 +00:00
|
|
|
|
2022-12-28 14:27:15 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"test_utils"
|
|
|
|
];
|
2021-01-05 12:20:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 18:33:49 +00:00
|
|
|
description = "System test utilities for google-cloud-python";
|
2020-11-03 01:19:08 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-test-utils";
|
2022-12-28 14:27:15 +00:00
|
|
|
changelog ="https://github.com/googleapis/python-test-utils/blob/v${version}/CHANGELOG.md";
|
2018-11-02 18:33:49 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 12:20:23 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 18:33:49 +00:00
|
|
|
};
|
|
|
|
}
|