2024-02-29 20:09:43 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, setuptools
|
|
|
|
, wheel
|
|
|
|
, pyannote-core
|
|
|
|
, pyyaml
|
|
|
|
, pandas
|
|
|
|
, typer
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyannote-database";
|
|
|
|
version = "5.0.1";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pyannote";
|
|
|
|
repo = "pyannote-database";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-A7Xr24O8OvVAlURrR+SDCh8Uv9Yz3AUJSFDyDShVVjA=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyannote-core
|
|
|
|
pyyaml
|
|
|
|
pandas
|
|
|
|
typer
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyannote.database" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reproducible experimental protocols for multimedia (audio, video, text) database";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pyannote-database";
|
2024-02-29 20:09:43 +00:00
|
|
|
homepage = "https://github.com/pyannote/pyannote-database";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
|
|
|
};
|
|
|
|
}
|