python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / pyannote-database / default.nix
blob8cb35b26061da34b792d16510f9e027a9992f0d7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pandas,
6   pyannote-core,
7   pythonOlder,
8   pyyaml,
9   setuptools,
10   typer,
11   versioneer,
14 buildPythonPackage rec {
15   pname = "pyannote-database";
16   version = "5.0.1";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchFromGitHub {
22     owner = "pyannote";
23     repo = "pyannote-database";
24     rev = "refs/tags/${version}";
25     hash = "sha256-A7Xr24O8OvVAlURrR+SDCh8Uv9Yz3AUJSFDyDShVVjA=";
26   };
28   postPatch = ''
29     # Remove vendorized versioneer.py
30     rm versioneer.py
31   '';
33   build-system = [
34     setuptools
35     versioneer
36   ];
38   dependencies = [
39     pyannote-core
40     pyyaml
41     pandas
42     typer
43   ];
45   pythonImportsCheck = [ "pyannote.database" ];
47   meta = with lib; {
48     description = "Reproducible experimental protocols for multimedia (audio, video, text) database";
49     homepage = "https://github.com/pyannote/pyannote-database";
50     license = licenses.mit;
51     maintainers = with maintainers; [ matthewcroughan ];
52     mainProgram = "pyannote-database";
53   };