home-assistant: 2025.1.1 -> 2025.1.2 (#372513)
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-dns / default.nix
blob12da5d31a7cf37fc2888a8dad92abe785e9bdcdf
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   google-api-core,
6   google-cloud-core,
7   mock,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "google-cloud-dns";
14   version = "0.35.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-CsRNqesPoLEilRPNiIB0q9AhGZLEBCMAr9HBbUFHRVM=";
22   };
24   propagatedBuildInputs = [
25     google-api-core
26     google-cloud-core
27   ];
29   nativeCheckInputs = [
30     mock
31     pytestCheckHook
32   ];
34   preCheck = ''
35     # don#t shadow python imports
36     rm -r google
37   '';
39   disabledTests = [
40     # requires credentials
41     "test_quota"
42   ];
44   pythonImportsCheck = [ "google.cloud.dns" ];
46   meta = with lib; {
47     description = "Google Cloud DNS API client library";
48     homepage = "https://github.com/googleapis/python-dns";
49     changelog = "https://github.com/googleapis/python-dns/blob/v${version}/CHANGELOG.md";
50     license = licenses.asl20;
51     maintainers = [ ];
52   };