python310Packages.mpd2: 3.0.5 -> 3.1.0
https://github.com/Mic92/python-mpd2/blob/v3.1.0/doc/changes.rst
This commit is contained in:
parent
9d27bdd3b5
commit
1a8bd1ba8a
1 changed files with 14 additions and 8 deletions
|
@ -2,28 +2,34 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, python
|
, twisted
|
||||||
, mock
|
, unittestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-mpd2";
|
pname = "python-mpd2";
|
||||||
version = "3.0.5";
|
version = "3.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-bxv/2TuaMvwBipu/NIdQW1Lg11fsNAZpBcYKkS1JI4Q=";
|
hash = "sha256-8zws2w1rqnSjZyTzjBxKCZp84sjsSiu3GSFQpYVd9HY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ mock ];
|
passthru.optional-dependencies = {
|
||||||
|
twisted = [
|
||||||
|
twisted
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
checkPhase = ''
|
nativeCheckInputs = [
|
||||||
${python.interpreter} -m unittest mpd.tests
|
unittestCheckHook
|
||||||
'';
|
] ++ passthru.optional-dependencies.twisted;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/Mic92/python-mpd2/blob/v${version}/doc/changes.rst";
|
||||||
description = "A Python client module for the Music Player Daemon";
|
description = "A Python client module for the Music Player Daemon";
|
||||||
homepage = "https://github.com/Mic92/python-mpd2";
|
homepage = "https://github.com/Mic92/python-mpd2";
|
||||||
license = licenses.lgpl3Plus;
|
license = licenses.lgpl3Plus;
|
||||||
|
|
Loading…
Reference in a new issue