mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
python3Packages.google-cloud-speech: disable on older Python releases
This commit is contained in:
parent
ab03df769c
commit
76a6ac14e4
@ -7,25 +7,37 @@
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-speech";
|
||||
version = "2.13.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-NO2oxVszbm2KYiN2NCn3edIyBx+E++sttJTgZd/yXzQ=";
|
||||
hash = "sha256-NO2oxVszbm2KYiN2NCn3edIyBx+E++sttJTgZd/yXzQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
|
||||
propagatedBuildInputs = [
|
||||
libcst
|
||||
google-api-core
|
||||
proto-plus
|
||||
];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# requrire credentials
|
||||
"--ignore=tests/system/gapic/v1/test_system_speech_v1.py"
|
||||
"--ignore=tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py"
|
||||
disabledTestPaths = [
|
||||
# Requrire credentials
|
||||
"tests/system/gapic/v1/test_system_speech_v1.py"
|
||||
"tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
Loading…
Reference in New Issue
Block a user