blob: f9866514548abd1f4c6e09e9331a7158c21bc608 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
requests,
vcrpy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lrclibapi";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Dr-Blank";
repo = "lrclibapi";
tag = "v${version}";
hash = "sha256-K5wO3BexftnWe48loaW8TjySQvh2X+X3GSmG5qg+BGc=";
};
build-system = [
poetry-core
];
dependencies = [
requests
];
pythonImportsCheck = [
"lrclib"
];
nativeCheckInputs = [
pytestCheckHook
vcrpy
];
meta = {
homepage = "https://github.com/Dr-Blank/lrclibapi";
changelog = "https://github.com/Dr-Blank/lrclibapi/releases/tag/v${version}";
description = "Python wrapper for downloading synced lyrics from the lrclib.net api";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ DataHearth ];
};
}
|