depot/third_party/nixpkgs/pkgs/development/python-modules/mpd2/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

39 lines
841 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; [ mic92 hexa ];
};
}