blob: 856a641689eca1d954d6208a5dcd9d537b6aa25e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
regex,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lb-matching-tools";
version = "2024.01.30.1";
pyproject = true;
src = fetchFromGitHub {
owner = "metabrainz";
repo = "listenbrainz-matching-tools";
tag = "v${version}";
hash = "sha256-RQ4X6DKigQsNxaAWXB1meATKP+ddMUgkoAIyX8iIisU=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ regex ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "lb_matching_tools" ];
meta = {
description = "ListenBrainz tools for matching metadata to and from MusicBrainz";
homepage = "https://github.com/metabrainz/listenbrainz-matching-tools";
changelog = "https://github.com/metabrainz/listenbrainz-matching-tools/releases/tag/${src.tag}";
license = lib.licenses.gpl2Plus;
teams = [ lib.teams.ngi ];
};
}
|