Merge pull request #224464 from GaetanLepage/jiwer
python3Packages.jiwer: init at 3.0.1
This commit is contained in:
commit
5b7aa05303
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/jiwer/default.nix
Normal file
38
pkgs/development/python-modules/jiwer/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, poetry-core
|
||||||
|
, rapidfuzz
|
||||||
|
, click
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jiwer";
|
||||||
|
version = "3.0.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jitsi";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-bH5TE6mcSG+WqvjW8Sd/o5bCBJmv9zurFEG2cVY/vYQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
rapidfuzz
|
||||||
|
click
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "jiwer" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "JiWER is a simple and fast python package to evaluate an automatic speech recognition system";
|
||||||
|
homepage = "https://github.com/jitsi/jiwer";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ GaetanLepage ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5000,6 +5000,8 @@ self: super: with self; {
|
||||||
|
|
||||||
jira = callPackage ../development/python-modules/jira { };
|
jira = callPackage ../development/python-modules/jira { };
|
||||||
|
|
||||||
|
jiwer = callPackage ../development/python-modules/jiwer { };
|
||||||
|
|
||||||
jmespath = callPackage ../development/python-modules/jmespath { };
|
jmespath = callPackage ../development/python-modules/jmespath { };
|
||||||
|
|
||||||
jmp = callPackage ../development/python-modules/jmp { };
|
jmp = callPackage ../development/python-modules/jmp { };
|
||||||
|
|
Loading…
Reference in a new issue