Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
799 B
Nix
45 lines
799 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|