Files
nixpkgs/pkgs/development/python-modules/pyannote-pipeline/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

54 lines
926 B
Nix

{ 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";
mainProgram = "pyannote-pipeline";
homepage = "https://github.com/pyannote/pyannote-pipeline";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}