python3Packages.mpd2: 3.1.1 -> 3.1.2 (#492306)
This commit is contained in:
@@ -1,32 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
twisted,
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "python-mpd2";
|
||||
version = "3.1.1";
|
||||
version = "3.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-S67DWEzEPtmUjVVZB5+vwmebBrKt4nPpCbNYJlSys/U=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "python-mpd2";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3isX3e4Fu1orxuRsC3u8RxoFDQcE4XxQhf8PIHdo/e4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
optional-dependencies = {
|
||||
twisted = [ twisted ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ] ++ optional-dependencies.twisted;
|
||||
nativeCheckInputs = [ unittestCheckHook ] ++ finalAttrs.passthru.optional-dependencies.twisted;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Mic92/python-mpd2/blob/v${version}/doc/changes.rst";
|
||||
changelog = "https://github.com/Mic92/python-mpd2/blob/${finalAttrs.src.tag}/doc/changes.rst";
|
||||
description = "Python client module for the Music Player Daemon";
|
||||
homepage = "https://github.com/Mic92/python-mpd2";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
@@ -35,4 +37,4 @@ buildPythonPackage rec {
|
||||
hexa
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user