diff options
Diffstat (limited to 'pkgs/applications/audio/mopidy/default.nix')
-rw-r--r-- | pkgs/applications/audio/mopidy/default.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/applications/audio/mopidy/default.nix b/pkgs/applications/audio/mopidy/default.nix index 91fc9d6f3fc97..ae53008d58c47 100644 --- a/pkgs/applications/audio/mopidy/default.nix +++ b/pkgs/applications/audio/mopidy/default.nix @@ -1,27 +1,30 @@ -{ stdenv, fetchurl, pythonPackages, pygobject, gst_python -, gst_plugins_good, gst_plugins_base, gst_plugins_ugly +{ stdenv, fetchurl, pythonPackages, pygobject, gst_python, wrapGAppsHook +, glib_networking, gst_plugins_good, gst_plugins_base, gst_plugins_ugly }: pythonPackages.buildPythonPackage rec { name = "mopidy-${version}"; - version = "1.1.1"; + version = "1.1.2"; src = fetchurl { url = "https://github.com/mopidy/mopidy/archive/v${version}.tar.gz"; - sha256 = "1xfyg8xqgnrb98wx7a4fzr4vlzkffjhkc1s36ka63rwmx86vqhyw"; + sha256 = "1vn4knpmnp3krmn627iv1r7xa50zl816ac6b24b8ph50cq2sqjfv"; }; + buildInputs = [ + wrapGAppsHook gst_plugins_base gst_plugins_good gst_plugins_ugly glib_networking + ]; + propagatedBuildInputs = with pythonPackages; [ - gst_python pygobject pykka tornado requests2 gst_plugins_base gst_plugins_good gst_plugins_ugly + gst_python pygobject pykka tornado requests2 ]; # There are no tests doCheck = false; - postInstall = '' - wrapProgram $out/bin/mopidy \ - --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" + preFixup = '' + gappsWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH") ''; meta = with stdenv.lib; { @@ -31,7 +34,7 @@ pythonPackages.buildPythonPackage rec { SoundCloud, Google Play Music, and more ''; license = licenses.asl20; - maintainers = [ maintainers.rickynils ]; + maintainers = with maintainers; [ rickynils fpletz ]; hydraPlatforms = []; }; } |