python3Packages.pyannote-core: 5.0.1 -> 6.0.1

Diff: https://github.com/pyannote/pyannote-core/compare/5.0.1...6.0.1

Changelog: https://github.com/pyannote/pyannote-core/releases/tag/6.0.1
This commit is contained in:
Gaetan Lepage
2025-11-03 10:40:32 +00:00
parent 6236814333
commit fd4a14663e

View File

@@ -2,57 +2,53 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
numpy, numpy,
pandas, pandas,
pytestCheckHook,
scipy,
setuptools,
sortedcontainers, sortedcontainers,
typing-extensions,
versioneer, pytestCheckHook,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyannote-core"; pname = "pyannote-core";
version = "5.0.1"; version = "6.0.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pyannote"; owner = "pyannote";
repo = "pyannote-core"; repo = "pyannote-core";
tag = version; tag = version;
hash = "sha256-28LVgI5bDFv71co/JsSrPrAcdugXiMRe6T1Jp0CO0XY="; hash = "sha256-r5NkOAzrQGcb6LPi4/DA0uT9R0ELiYuwQkbT1l6R8Mw=";
}; };
postPatch = ''
# Remove vendorized versioneer.py
rm versioneer.py
'';
build-system = [ build-system = [
setuptools hatch-vcs
versioneer hatchling
]; ];
dependencies = [ dependencies = [
sortedcontainers
numpy numpy
scipy pandas
typing-extensions sortedcontainers
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
pandas
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "pyannote.core" ]; pythonImportsCheck = [ "pyannote.core" ];
meta = with lib; { meta = {
description = "Advanced data structures for handling temporal segments with attached labels"; description = "Advanced data structures for handling temporal segments with attached labels";
homepage = "https://github.com/pyannote/pyannote-core"; homepage = "https://github.com/pyannote/pyannote-core";
changelog = "https://github.com/pyannote/pyannote-core/releases/tag/${version}"; changelog = "https://github.com/pyannote/pyannote-core/releases/tag/${version}";
license = licenses.mit; license = lib.licenses.mit;
maintainers = [ ]; maintainers = [ ];
}; };
} }