Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
919 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, rapidfuzz, click, pythonOlder,}:
buildPythonPackage rec { pname = "jiwer"; version = "3.04"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "jitsi"; repo = "jiwer"; tag = "v${version}"; hash = "sha256-2LzAOgABK00Pz3v5WWYUAcZOYcTbRKfgw7U5DOohB/Q="; };
build-system = [ poetry-core ];
dependencies = [ rapidfuzz click ];
pythonRelaxDeps = [ "rapidfuzz" ];
pythonImportsCheck = [ "jiwer" ];
meta = with lib; { 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/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ GaetanLepage ]; };}