Unverified Commit 96202f2d authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.mpd2: 3.1.1 -> 3.1.2 (#492306)

parents 61aa2ab6 e63daa93
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
{
  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
    ];
  };
}
})