blob: 8cb35b26061da34b792d16510f9e027a9992f0d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pandas,
pyannote-core,
pythonOlder,
pyyaml,
setuptools,
typer,
versioneer,
}:
buildPythonPackage rec {
pname = "pyannote-database";
version = "5.0.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pyannote";
repo = "pyannote-database";
rev = "refs/tags/${version}";
hash = "sha256-A7Xr24O8OvVAlURrR+SDCh8Uv9Yz3AUJSFDyDShVVjA=";
};
postPatch = ''
# Remove vendorized versioneer.py
rm versioneer.py
'';
build-system = [
setuptools
versioneer
];
dependencies = [
pyannote-core
pyyaml
pandas
typer
];
pythonImportsCheck = [ "pyannote.database" ];
meta = with lib; {
description = "Reproducible experimental protocols for multimedia (audio, video, text) database";
homepage = "https://github.com/pyannote/pyannote-database";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
mainProgram = "pyannote-database";
};
}
|