python312Packages.pyannote-pipeline: remove vendorized versioneer.py

This commit is contained in:
Fabian Affolter 2024-05-12 20:22:51 +02:00
parent 6e5ddb4326
commit 38281e7239

View File

@ -1,16 +1,16 @@
{ lib
, buildPythonPackage
, docopt
, fetchFromGitHub
, setuptools
, wheel
, filelock
, optuna
, pyannote-core
, pyannote-database
, pyyaml
, optuna
, tqdm
, docopt
, filelock
, scikit-learn
, setuptools
, tqdm
, versioneer
}:
buildPythonPackage rec {
@ -21,11 +21,21 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "pyannote";
repo = "pyannote-pipeline";
rev = version;
rev = "refs/tags/${version}";
hash = "sha256-0wSgy6kbKi9Wa5dimOz34IV5/8fSwaHDMUpaBW7tm2Y=";
};
propagatedBuildInputs = [
postPatch = ''
# Remove vendorized versioeer.py
rm versioneer.py
'';
build-system = [
setuptools
versioneer
];
dependencies = [
pyannote-core
pyannote-database
pyyaml
@ -36,18 +46,13 @@ buildPythonPackage rec {
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; [ ];
mainProgram = "pyannote-pipeline";
};
}