33 lines
699 B
Nix
33 lines
699 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google_api_core
|
|
, google_cloud_core
|
|
, pytest
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-dns";
|
|
version = "0.29.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d1476115c983094f124fe8b7a1350414072c048bf236336f3ab0816912e6e6bf";
|
|
};
|
|
|
|
checkInputs = [ pytest mock ];
|
|
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
|
|
|
checkPhase = ''
|
|
pytest tests/unit
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Google Cloud DNS API client library";
|
|
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|