Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchPypi, google-api-core, google-cloud-core, mock, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "google-cloud-dns"; version = "0.37.2"; pyproject = true;
src = fetchPypi { pname = "google_cloud_dns"; inherit (finalAttrs) version; hash = "sha256-KVYp3g7p9VaeoyHfF6CYb0TZZ19zbWVJOgeBIc2+Mho="; };
build-system = [ setuptools ];
dependencies = [ google-api-core google-cloud-core ];
nativeCheckInputs = [ mock pytestCheckHook ];
preCheck = '' # don't shadow Python imports rm -r google '';
disabledTests = [ # Test requires credentials "test_quota" ];
pythonImportsCheck = [ "google.cloud.dns" ];
meta = { description = "Google Cloud DNS API client library"; homepage = "https://cloud.google.com/dns"; changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-dns-v${finalAttrs.version}/packages/google-cloud-dns/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; };})