pythonPackages.google_cloud_dlp: 2.0.0 -> 3.0.0
This commit is contained in:
parent
a6dc4d5644
commit
b2fb89e560
@ -1,32 +1,42 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, enum34
|
|
||||||
, google_api_core
|
, google_api_core
|
||||||
, pytest
|
, google_cloud_testutils
|
||||||
|
, libcst
|
||||||
|
, proto-plus
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
, mock
|
, mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-dlp";
|
pname = "google-cloud-dlp";
|
||||||
version = "2.0.0";
|
version = "3.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "112c8a46979eebd60c3651037e62572fed413977ff2811901aa925c7b7ab9a5a";
|
sha256 = "09rnzpdlycr1wv8agcfx05v1prn35ylphsbr07486zqdkh5wjk8p";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest mock ];
|
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
||||||
propagatedBuildInputs = [ enum34 google_api_core ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
|
||||||
pytest tests/unit
|
|
||||||
'';
|
disabledTests = [
|
||||||
|
# requires credentials
|
||||||
|
"test_inspect_content"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"google.cloud.dlp"
|
||||||
|
"google.cloud.dlp_v2"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Cloud Data Loss Prevention (DLP) API API client library";
|
description = "Cloud Data Loss Prevention (DLP) API API client library";
|
||||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
homepage = "https://github.com/googleapis/python-dlp";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user