blob: b7ce149a00188e162008f3d9cea693f2bc5a71fd (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flaky,
hatch-vcs,
hatchling,
httpx,
pytest-random-order,
pytest-recording,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pylast";
version = "7.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pylast";
repo = "pylast";
tag = version;
hash = "sha256-MV7NLh++2GxRvnF30Q3zBOgM6dT8tI/KpQ1YB4rMd1s=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [ httpx ];
nativeCheckInputs = [
flaky
pytest-random-order
pytest-recording
pytestCheckHook
];
pythonImportsCheck = [ "pylast" ];
meta = {
description = "Python interface to last.fm (and compatibles)";
homepage = "https://github.com/pylast/pylast";
changelog = "https://github.com/pylast/pylast/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
fab
rvolosatovs
];
};
}
|