nixpkgs/pkgs/development/python-modules/mpd2/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

42 lines
894 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
twisted,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "python-mpd2";
version = "3.1.1";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-S67DWEzEPtmUjVVZB5+vwmebBrKt4nPpCbNYJlSys/U=";
};
nativeBuildInputs = [ setuptools ];
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 = "Python client module for the Music Player Daemon";
homepage = "https://github.com/Mic92/python-mpd2";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [
mic92
hexa
];
};
}