diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyannote-metrics/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyannote-metrics/default.nix | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyannote-metrics/default.nix b/nixpkgs/pkgs/development/python-modules/pyannote-metrics/default.nix new file mode 100644 index 000000000000..e5c26d3d410a --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pyannote-metrics/default.nix @@ -0,0 +1,56 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, setuptools +, wheel +, pyannote-core +, pyannote-database +, pandas +, scipy +, scikit-learn +, docopt +, tabulate +, matplotlib +, sympy +, numpy +}: + +buildPythonPackage rec { + pname = "pyannote-metrics"; + version = "3.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pyannote"; + repo = "pyannote-metrics"; + rev = version; + hash = "sha256-V4qyaCaFsoikfFILm2sccf6m7lqJSDTdLxS1sr/LXAY="; + }; + + propagatedBuildInputs = [ + pyannote-core + pyannote-database + pandas + scipy + scikit-learn + docopt + tabulate + matplotlib + sympy + numpy + ]; + + nativeBuildInputs = [ + setuptools + wheel + ]; + + pythonImportsCheck = [ "pyannote.metrics" ]; + + meta = with lib; { + description = "A toolkit for reproducible evaluation, diagnostic, and error analysis of speaker diarization systems"; + homepage = "https://github.com/pyannote/pyannote-metrics"; + license = licenses.mit; + maintainers = with maintainers; [ ]; + }; +} |