Something went wrong. Try again.
lol
Something went wrong. Try again.
865 B · 43 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, hatchling, rapidfuzz, click,}:
buildPythonPackage rec { pname = "jiwer"; version = "4.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "jitsi"; repo = "jiwer"; tag = "v${version}"; hash = "sha256-iyFcxZGYMeQXSZBHJg7kBWyOciZyEV7gSzSy4SvBGzw="; };
build-system = [ hatchling ];
dependencies = [ rapidfuzz click ];
pythonRelaxDeps = [ "rapidfuzz" ];
pythonImportsCheck = [ "jiwer" ];
meta = { description = "Simple and fast python package to evaluate an automatic speech recognition system"; mainProgram = "jiwer"; homepage = "https://github.com/jitsi/jiwer"; changelog = "https://github.com/jitsi/jiwer/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };}