pythonPackages.google_cloud_core: 1.4.3 -> 1.5.0
This commit is contained in:
parent
74ad2527e9
commit
4fde918f22
|
@ -1,31 +1,38 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, python
|
{ stdenv
|
||||||
, google_api_core, grpcio, mock }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
, python
|
||||||
|
, google_api_core
|
||||||
|
, grpcio
|
||||||
|
, mock
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-core";
|
pname = "google-cloud-core";
|
||||||
version = "1.4.3";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "21afb70c1b0bce8eeb8abb5dca63c5fd37fc8aea18f4b6d60e803bd3d27e6b80";
|
sha256 = "01liq4nrd2g3ingg8v0ly4c86db8agnr9h1fiz219c7fz0as0xqj";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
propagatedBuildInputs = [ google_api_core ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ google_api_core grpcio ];
|
checkInputs = [ mock pytestCheckHook ];
|
||||||
checkInputs = [ google_api_core mock pytestCheckHook ];
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "google.cloud" ];
|
|
||||||
|
|
||||||
# prevent google directory from shadowing google imports
|
# prevent google directory from shadowing google imports
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
rm -r google
|
rm -r google
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "google.cloud" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "API Client library for Google Cloud: Core Helpers";
|
description = "API Client library for Google Cloud: Core Helpers";
|
||||||
homepage = "https://github.com/googleapis/python-cloud-core";
|
homepage = "https://github.com/googleapis/python-cloud-core";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue