{ stdenv, pythonPackages, mopidy, mopidy-local-images }: pythonPackages.buildPythonApplication rec { pname = "Mopidy-Iris"; version = "3.31.8"; src = pythonPackages.fetchPypi { inherit pname version; sha256 = "16rrvby6rdiz53minfqsbgmymnc4agi2iwp0pf5ahsaxp1xq0cqy"; }; propagatedBuildInputs = [ mopidy mopidy-local-images ] ++ (with pythonPackages; [ configobj pylast spotipy raven tornado_4 ]); postPatch = "sed -i /tornado/d setup.py"; # no tests implemented doCheck = false; meta = with stdenv.lib; { homepage = https://github.com/jaedb/Iris; description = "A fully-functional Mopidy web client encompassing Spotify and many other backends"; license = licenses.asl20; maintainers = [ maintainers.rvolosatovs ]; }; }