at 24.11-pre 58 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 wheel, 7 pyannote-core, 8 pyannote-database, 9 pandas, 10 scipy, 11 scikit-learn, 12 docopt, 13 tabulate, 14 matplotlib, 15 sympy, 16 numpy, 17}: 18 19buildPythonPackage rec { 20 pname = "pyannote-metrics"; 21 version = "3.2.1"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "pyannote"; 26 repo = "pyannote-metrics"; 27 rev = version; 28 hash = "sha256-V4qyaCaFsoikfFILm2sccf6m7lqJSDTdLxS1sr/LXAY="; 29 }; 30 31 propagatedBuildInputs = [ 32 pyannote-core 33 pyannote-database 34 pandas 35 scipy 36 scikit-learn 37 docopt 38 tabulate 39 matplotlib 40 sympy 41 numpy 42 ]; 43 44 nativeBuildInputs = [ 45 setuptools 46 wheel 47 ]; 48 49 pythonImportsCheck = [ "pyannote.metrics" ]; 50 51 meta = with lib; { 52 description = "A toolkit for reproducible evaluation, diagnostic, and error analysis of speaker diarization systems"; 53 mainProgram = "pyannote-metrics"; 54 homepage = "https://github.com/pyannote/pyannote-metrics"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ ]; 57 }; 58}