Merge pull request #224953 from wegank/jiwer-desc

python310Packages.jiwer: fix build
This commit is contained in:
Weijia Wang 2023-04-06 10:50:29 +03:00 committed by GitHub
commit c471cc0ece
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, poetry-core , poetry-core
, pythonRelaxDepsHook
, rapidfuzz , rapidfuzz
, click , click
}: }:
@ -20,6 +21,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core poetry-core
pythonRelaxDepsHook
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -27,10 +29,14 @@ buildPythonPackage rec {
click click
]; ];
pythonRelaxDeps = [
"rapidfuzz"
];
pythonImportsCheck = [ "jiwer" ]; pythonImportsCheck = [ "jiwer" ];
meta = with lib; { meta = with lib; {
description = "JiWER is a simple and fast python package to evaluate an automatic speech recognition system"; description = "A simple and fast python package to evaluate an automatic speech recognition system";
homepage = "https://github.com/jitsi/jiwer"; homepage = "https://github.com/jitsi/jiwer";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ GaetanLepage ]; maintainers = with maintainers; [ GaetanLepage ];