Revert "python3Packages.mpris-server: drop"

This commit reverts d698f37523
This commit is contained in:
Peder Bergebakken Sundt
2026-05-20 17:14:31 +02:00
parent 2a8a552c75
commit 481a260d76
3 changed files with 46 additions and 1 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchPypi,
emoji,
pydbus,
pygobject3,
unidecode,
setuptools,
strenum,
}:
buildPythonPackage rec {
pname = "mpris-server";
version = "0.9.6";
pyproject = true;
src = fetchPypi {
pname = "mpris_server";
inherit version;
hash = "sha256-T0ZeDQiYIAhKR8aw3iv3rtwzc+R0PTQuIh6+Hi4rIHQ=";
};
build-system = [ setuptools ];
dependencies = [
emoji
pydbus
pygobject3
strenum
unidecode
];
pythonImportsCheck = [ "mpris_server" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Publish a MediaPlayer2 MPRIS device to D-Bus";
homepage = "https://pypi.org/project/mpris-server/";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ quadradical ];
};
}
-1
View File
@@ -346,7 +346,6 @@ mapAliases {
monarchmoney = throw "'monarchmoney' has been renamed to/replaced by 'monarchmoneycommunity'"; # Added 2026-03-05
monkeytype = throw "'monkeytype' has been removed as it was unmaintained upstream"; # Added 2026-04-19
moretools = "'moretools' has been removed because it is unmaintained"; # Added 2026-01-19
mpris-server = throw "mpris-server was removed because it is unused"; # added 2025-10-31
msldap-bad = throw "'msldap-bad' has been renamed to/replaced by 'badldap'"; # added 2025-11-06
mullvad-closest = throw "'mullvad-closest' has been removed as it was unmaintained. Consider using 'mullvad-compass' instead."; # Added 2026-01-13
multi_key_dict = throw "'multi_key_dict' has been renamed to/replaced by 'multi-key-dict'"; # Converted to throw 2025-10-29
+2
View File
@@ -10397,6 +10397,8 @@ self: super: with self; {
mpris-api = callPackage ../development/python-modules/mpris-api { };
mpris-server = callPackage ../development/python-modules/mpris-server { };
mprisify = callPackage ../development/python-modules/mprisify { };
mpv = callPackage ../development/python-modules/mpv { inherit (pkgs) mpv; };