blob: 79c4ed1653c260404bc87988a2f3c7cae0b39430 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
twisted,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "python-mpd2";
version = "3.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-S67DWEzEPtmUjVVZB5+vwmebBrKt4nPpCbNYJlSys/U=";
};
nativeBuildInputs = [ setuptools ];
optional-dependencies = {
twisted = [ twisted ];
};
nativeCheckInputs = [ unittestCheckHook ] ++ optional-dependencies.twisted;
meta = {
changelog = "https://github.com/Mic92/python-mpd2/blob/v${version}/doc/changes.rst";
description = "Python client module for the Music Player Daemon";
homepage = "https://github.com/Mic92/python-mpd2";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [
mic92
hexa
];
};
}
|