blob: d5db7f4594271128f81e5e64f291f53831ca1684 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build dependencies
poetry-core,
# dependencies
babelfish,
pyyaml,
rebulk,
unidecode,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "trakit";
version = "0.2.5";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ratoaq2";
repo = "trakit";
tag = version;
hash = "sha256-x/83yRzvQ81+wS0lJr52KYBMoPvSVDr17ppxG/lSfUg=";
};
build-system = [ poetry-core ];
dependencies = [
babelfish
pyyaml
rebulk
];
nativeCheckInputs = [
pytestCheckHook
unidecode
];
disabledTests = [
# requires network access
"test_generate_config"
];
pythonImportsCheck = [ "trakit" ];
meta = {
description = "Guess additional information from track titles";
homepage = "https://github.com/ratoaq2/trakit";
changelog = "https://github.com/ratoaq2/trakit/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
};
}
|