mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
python3Packages.google_cloud_automl: 0.9.0 -> 0.10.0
This commit is contained in:
parent
e7036d9fc7
commit
d776f212a8
|
@ -3,24 +3,27 @@
|
|||
, fetchPypi
|
||||
, enum34
|
||||
, google_api_core
|
||||
, google_cloud_storage
|
||||
, pandas
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-automl";
|
||||
version = "0.9.0";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6541245cdee3e3ba5d98bb3ecd0b343fd5d3de1e880cfc5daf59f4a69a045171";
|
||||
sha256 = "031331fs97jpyxacwsmhig0ndidn97r288qnkrzfdvg1wxw5rdhi";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
checkInputs = [ pandas pytest mock google_cloud_storage ];
|
||||
propagatedBuildInputs = [ enum34 google_api_core ];
|
||||
|
||||
# ignore tests which need credentials
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
pytest tests/unit -k 'not upload and not prediction_client_client_info'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue