Skip to content

Instantly share code, notes, and snippets.

@thorerik
Created April 12, 2018 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thorerik/767ffc9f744cbbe46d690ff18c7f85ad to your computer and use it in GitHub Desktop.
Save thorerik/767ffc9f744cbbe46d690ff18c7f85ad to your computer and use it in GitHub Desktop.
{ stdenv, pythonPackages, mopidy }:
pythonPackages.buildPythonApplication rec {
pname = "Mopidy-MPRIS";
version = "1.4.0";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0y90k3yzv8lq5g3lxfh4fys7bsmdvqgnwx2kjr00w5j3zrhmfcpa";
};
propagatedBuildInputs = with pythonPackages; [ mopidy ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "Mopidy extension for controlling Mopidy via dbus";
license = licenses.asl20;
maintainers = [ maintainers.thorerik ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment