Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 67 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ lib, buildPythonPackage, docopt, fetchFromGitHub, matplotlib, numpy, pandas, pyannote-core, pyannote-database, pythonOlder, scikit-learn, scipy, setuptools, sympy, tabulate, versioneer,}:
buildPythonPackage rec { pname = "pyannote-metrics"; version = "3.2.1"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "pyannote"; repo = "pyannote-metrics"; rev = "refs/tags/${version}"; hash = "sha256-V4qyaCaFsoikfFILm2sccf6m7lqJSDTdLxS1sr/LXAY="; };
postPatch = '' # Remove vendorized versioneer.py rm versioneer.py '';
build-system = [ setuptools versioneer ];
dependencies = [ pyannote-core pyannote-database pandas scipy scikit-learn docopt tabulate matplotlib sympy numpy ];
pythonImportsCheck = [ "pyannote.metrics" ];
meta = with lib; { description = "Toolkit for reproducible evaluation, diagnostic, and error analysis of speaker diarization systems"; homepage = "https://github.com/pyannote/pyannote-metrics"; changelog = "http://pyannote.github.io/pyannote-metrics/changelog.html"; license = licenses.mit; maintainers = [ ]; mainProgram = "pyannote-metrics"; };}