python3Packages.google_cloud_dns: 0.31.0 -> 0.32.0, fix tests

This commit is contained in:
Jonathan Ringer 2020-03-18 15:23:27 -07:00 committed by Jon
parent 96dcdb24b3
commit b866df5dfe

View File

@ -9,23 +9,24 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-dns"; pname = "google-cloud-dns";
version = "0.31.0"; version = "0.32.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0dc0244c96378615b19679ab001a85fe74b564233d4f3e185a0f8fe333530fe2"; sha256 = "1shaj1x9ccwz1ad41f8hkldibpg313raqlhwky7wij4gn2nix22i";
}; };
checkInputs = [ pytest mock ]; checkInputs = [ pytest mock ];
propagatedBuildInputs = [ google_api_core google_cloud_core ]; propagatedBuildInputs = [ google_api_core google_cloud_core ];
checkPhase = '' checkPhase = ''
rm -r google
pytest tests/unit pytest tests/unit
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Google Cloud DNS API client library"; description = "Google Cloud DNS API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.costrouc ]; maintainers = [ maintainers.costrouc ];
}; };