mopidy: Update from 0.15.0 to 0.18.3

Also add the mopidy-spotify extension.
This commit is contained in:
Rickard Nilsson 2014-07-12 09:33:53 +02:00
parent 6a2a8dc788
commit 89a0bf43d1
3 changed files with 36 additions and 16 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, pythonPackages, mopidy }:
pythonPackages.buildPythonPackage rec {
name = "mopidy-spotify-${version}";
version = "1.1.3";
src = fetchurl {
url = "https://github.com/mopidy/mopidy-spotify/archive/v${version}.tar.gz";
sha256 = "09s6841qb24nrmlc2izb8vxbgv185ddra6ndskrsw907hfli2kl6";
};
propagatedBuildInputs = [ mopidy pythonPackages.pyspotify ];
doCheck = false;
meta = with stdenv.lib; {
homepage = http://www.mopidy.com/;
description = "Mopidy extension for playing music from Spotify.";
license = licenses.asl20;
maintainers = [ maintainers.rickynils ];
hydraPlatforms = [];
};
}

View File

@ -5,39 +5,33 @@
pythonPackages.buildPythonPackage rec { pythonPackages.buildPythonPackage rec {
name = "mopidy-${version}"; name = "mopidy-${version}";
version = "0.15.0"; version = "0.18.3";
src = fetchurl { src = fetchurl {
url = "https://github.com/mopidy/mopidy/archive/v${version}.tar.gz"; url = "https://github.com/mopidy/mopidy/archive/v${version}.tar.gz";
sha256 = "1fpnddcx6343wgxzh10s035w21g8jmfh2kzgx32w0xsshpra3gn1"; sha256 = "0b8ss6qjzj1pawd8469i5310ily3rad0ashfy87vdyj6xdyfyp0q";
}; };
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [
gst_python pygobject pykka pyspotify pylast cherrypy ws4py gst_plugins_base gst_plugins_good gst_python pygobject pykka cherrypy ws4py gst_plugins_base gst_plugins_good
]; ];
# python zip complains about old timestamps
preConfigure = ''
find -print0 | xargs -0 touch
'';
# There are no tests # There are no tests
doCheck = false; doCheck = false;
postInstall = '' postInstall = ''
for p in $out/bin/mopidy $out/bin/mopidy-scan; do wrapProgram $out/bin/mopidy \
wrapProgram $p \ --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
done
''; '';
meta = { meta = with stdenv.lib; {
homepage = http://www.mopidy.com/; homepage = http://www.mopidy.com/;
description = '' description = ''
A music server which can play music from Spotify and from your An extensible music server that plays music from local disk, Spotify,
local hard drive. SoundCloud, Google Play Music, and more.
''; '';
maintainers = [ stdenv.lib.maintainers.rickynils ]; license = licenses.asl20;
maintainers = [ maintainers.rickynils ];
hydraPlatforms = []; hydraPlatforms = [];
}; };
} }

View File

@ -9179,6 +9179,8 @@ let
mopidy = callPackage ../applications/audio/mopidy { }; mopidy = callPackage ../applications/audio/mopidy { };
mopidy-spotify = callPackage ../applications/audio/mopidy-spotify { };
mozilla = callPackage ../applications/networking/browsers/mozilla { mozilla = callPackage ../applications/networking/browsers/mozilla {
inherit (gnome) libIDL; inherit (gnome) libIDL;
}; };