python3Packages.google_cloud_translate: 2.0.0 -> 2.0.1, fix tests
This commit is contained in:
parent
85e2d6a935
commit
c69153580b
@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-translate";
|
pname = "google-cloud-translate";
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0nfc628nr2k6kd3q9qpgwz7c12l0191rv5x4pvca8q82jl96gip5";
|
sha256 = "02wlqlrxk0x6a9wifcly2pr84r6k8i97ws0prx21379fss39gf2a";
|
||||||
};
|
};
|
||||||
|
|
||||||
# google_cloud_core[grpc] -> grpcio
|
# google_cloud_core[grpc] -> grpcio
|
||||||
@ -23,12 +23,12 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [ pytest mock ];
|
checkInputs = [ pytest mock ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cd tests # prevent local google/__init__.py from getting loaded
|
cd tests # prevent local google/__init__.py from getting loaded
|
||||||
pytest unit
|
pytest unit -k 'not extra_headers'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Google Cloud Translation API client library";
|
description = "Google Cloud Translation 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 ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user