d9e13ed064
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
41 lines
850 B
Nix
41 lines
850 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, google-cloud-core
|
|
, pytestCheckHook
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-dns";
|
|
version = "0.33.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e4aa73fc6ca22764fd7294de19b602dff084d924c77366c136fb9c28e70ae739";
|
|
};
|
|
|
|
propagatedBuildInputs = [ google-api-core google-cloud-core ];
|
|
|
|
checkInputs = [ mock pytestCheckHook ];
|
|
|
|
preCheck = ''
|
|
# don#t shadow python imports
|
|
rm -r google
|
|
'';
|
|
|
|
disabledTests = [
|
|
# requires credentials
|
|
"test_quota"
|
|
];
|
|
|
|
pythonImportsCheck = [ "google.cloud.dns" ];
|
|
|
|
meta = with lib; {
|
|
description = "Google Cloud DNS API client library";
|
|
homepage = "https://github.com/googleapis/python-dns";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|