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
55 lines
969 B
Nix
55 lines
969 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
hatch-vcs,
|
|
hatchling,
|
|
|
|
# dependencies
|
|
numpy,
|
|
pandas,
|
|
sortedcontainers,
|
|
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyannote-core";
|
|
version = "6.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pyannote";
|
|
repo = "pyannote-core";
|
|
tag = version;
|
|
hash = "sha256-r5NkOAzrQGcb6LPi4/DA0uT9R0ELiYuwQkbT1l6R8Mw=";
|
|
};
|
|
|
|
build-system = [
|
|
hatch-vcs
|
|
hatchling
|
|
];
|
|
|
|
dependencies = [
|
|
numpy
|
|
pandas
|
|
sortedcontainers
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyannote.core" ];
|
|
|
|
meta = {
|
|
description = "Advanced data structures for handling temporal segments with attached labels";
|
|
homepage = "https://github.com/pyannote/pyannote-core";
|
|
changelog = "https://github.com/pyannote/pyannote-core/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|