Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
832 B · 44 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pythonRelaxDepsHook, 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 pythonRelaxDepsHook ];
propagatedBuildInputs = [ rapidfuzz click ];
pythonRelaxDeps = [ "rapidfuzz" ];
pythonImportsCheck = [ "jiwer" ];
meta = with lib; { description = "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 ]; };}