You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
838 B
38 lines
838 B
6 years ago
|
{ stdenv
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
3 years ago
|
, google-api-core
|
||
3 years ago
|
, libcst
|
||
5 years ago
|
, mock
|
||
3 years ago
|
, proto-plus
|
||
|
, pytestCheckHook
|
||
|
, pytest-asyncio
|
||
6 years ago
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "google-cloud-language";
|
||
4 years ago
|
version = "2.0.0";
|
||
6 years ago
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
3 years ago
|
sha256 = "123vqfrn7pyn3ia7cmhx8bgafd4gxxlmhf33s3vgspyjck6sprxb";
|
||
6 years ago
|
};
|
||
|
|
||
3 years ago
|
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||
6 years ago
|
|
||
3 years ago
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||
|
|
||
|
pythonImportsCheck = [
|
||
|
"google.cloud.language"
|
||
|
"google.cloud.language_v1"
|
||
|
"google.cloud.language_v1beta2"
|
||
|
];
|
||
6 years ago
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Google Cloud Natural Language API client library";
|
||
3 years ago
|
homepage = "https://github.com/googleapis/python-language";
|
||
6 years ago
|
license = licenses.asl20;
|
||
3 years ago
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||
6 years ago
|
};
|
||
|
}
|