diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyannote-pipeline/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyannote-pipeline/default.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyannote-pipeline/default.nix b/nixpkgs/pkgs/development/python-modules/pyannote-pipeline/default.nix new file mode 100644 index 000000000000..52e96b05ed14 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pyannote-pipeline/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, setuptools +, wheel +, pyannote-core +, pyannote-database +, pyyaml +, optuna +, tqdm +, docopt +, filelock +, scikit-learn +}: + +buildPythonPackage rec { + pname = "pyannote-pipeline"; + version = "3.0.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pyannote"; + repo = "pyannote-pipeline"; + rev = version; + hash = "sha256-0wSgy6kbKi9Wa5dimOz34IV5/8fSwaHDMUpaBW7tm2Y="; + }; + + propagatedBuildInputs = [ + pyannote-core + pyannote-database + pyyaml + optuna + tqdm + docopt + filelock + scikit-learn + ]; + + nativeBuildInputs = [ + setuptools + wheel + ]; + + pythonImportsCheck = [ "pyannote.pipeline" ]; + + meta = with lib; { + description = "Tunable pipelines"; + homepage = "https://github.com/pyannote/pyannote-pipeline"; + license = licenses.mit; + maintainers = with maintainers; [ ]; + }; +} |