blob: 3669b8dddbf8f93ea2929199bc7434e0de79f8c5 (
plain) (
blame)
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
|
{ stdenv
, buildPythonPackage
, fetchPypi
, mock
}:
buildPythonPackage rec {
pname = "mpd2";
version = "0.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "1gfrxf71xll1w6zb69znqg5c9j0g7036fsalkvqprh2id640cl3a";
};
buildInputs = [ mock ];
patchPhase = ''
sed -i -e '/tests_require/d' \
-e 's/cmdclass.*/test_suite="mpd_test",/' setup.py
'';
meta = with stdenv.lib; {
description = "A Python client module for the Music Player Daemon";
homepage = "https://github.com/Mic92/python-mpd2";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ rvl mic92 ];
};
}
|