depot/third_party/nixpkgs/pkgs/development/python-modules/mpd2/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

39 lines
845 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, twisted
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "python-mpd2";
version = "3.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-8zws2w1rqnSjZyTzjBxKCZp84sjsSiu3GSFQpYVd9HY=";
};
passthru.optional-dependencies = {
twisted = [
twisted
];
};
nativeCheckInputs = [
unittestCheckHook
] ++ passthru.optional-dependencies.twisted;
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";
homepage = "https://github.com/Mic92/python-mpd2";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ rvl mic92 hexa ];
};
}