python310Packages.jiwer: disble on unsupported Python releases
This commit is contained in:
parent
83f005b42a
commit
2d36f513c2
|
@ -5,6 +5,7 @@
|
|||
, pythonRelaxDepsHook
|
||||
, rapidfuzz
|
||||
, click
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -12,6 +13,8 @@ buildPythonPackage rec {
|
|||
version = "3.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jitsi";
|
||||
repo = pname;
|
||||
|
@ -33,7 +36,9 @@ buildPythonPackage rec {
|
|||
"rapidfuzz"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "jiwer" ];
|
||||
pythonImportsCheck = [
|
||||
"jiwer"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple and fast python package to evaluate an automatic speech recognition system";
|
||||
|
|
Loading…
Reference in a new issue