python310Packages.jiwer: disble on unsupported Python releases
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user