1{ lib 2, buildPythonPackage 3, fetchPypi 4, emoji 5, pydbus 6, pygobject3 7, unidecode 8, setuptools 9}: 10buildPythonPackage rec { 11 pname = "mpris-server"; 12 version = "0.4.2"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "mpris_server"; 17 inherit version; 18 hash = "sha256-p3nM80fOMtRmeKvOXuX40Fu9xH8gPgYyneXbUS678fE="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 propagatedBuildInputs = [ 24 emoji 25 pydbus 26 pygobject3 27 unidecode 28 ]; 29 30 pythonImportsCheck = [ "mpris_server" ]; 31 32 # upstream has no tests 33 doCheck = false; 34 35 meta = with lib; { 36 description = "Publish a MediaPlayer2 MPRIS device to D-Bus"; 37 homepage = "https://pypi.org/project/mpris-server/"; 38 license = licenses.agpl3Only; 39 maintainers = with maintainers; [ quadradical ]; 40 }; 41}