Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 735 B view raw
1{ 2 lib, 3 pythonPackages, 4 fetchPypi, 5 mopidy, 6}: 7 8pythonPackages.buildPythonApplication rec { 9 pname = "mopidy-mpris"; 10 version = "3.0.3"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "Mopidy-MPRIS"; 16 hash = "sha256-rHQgNIyludTEL7RDC8dIpyGTMOt1Tazn6i/orKlSP4U="; 17 }; 18 19 build-system = [ 20 pythonPackages.setuptools 21 ]; 22 23 dependencies = [ 24 mopidy 25 pythonPackages.pydbus 26 ]; 27 28 doCheck = false; 29 30 pythonImportsCheck = [ "mopidy_mpris" ]; 31 32 meta = with lib; { 33 homepage = "https://www.mopidy.com/"; 34 description = "Mopidy extension for controlling Mopidy through D-Bus using the MPRIS specification"; 35 license = licenses.asl20; 36 maintainers = [ maintainers.nickhu ]; 37 }; 38}