lol

Merge pull request #12206 from mayflower/mopidy/https

mopidy: Fix fetching songs over HTTPS

+9 -6
+9 -6
pkgs/applications/audio/mopidy/default.nix
··· 1 - { stdenv, fetchurl, pythonPackages, pygobject, gst_python 2 - , gst_plugins_good, gst_plugins_base, gst_plugins_ugly 1 + { stdenv, fetchurl, pythonPackages, pygobject, gst_python, wrapGAppsHook 2 + , glib_networking, gst_plugins_good, gst_plugins_base, gst_plugins_ugly 3 3 }: 4 4 5 5 pythonPackages.buildPythonPackage rec { ··· 11 11 url = "https://github.com/mopidy/mopidy/archive/v${version}.tar.gz"; 12 12 sha256 = "1xfyg8xqgnrb98wx7a4fzr4vlzkffjhkc1s36ka63rwmx86vqhyw"; 13 13 }; 14 + 15 + buildInputs = [ 16 + wrapGAppsHook gst_plugins_base gst_plugins_good gst_plugins_ugly glib_networking 17 + ]; 14 18 15 19 propagatedBuildInputs = with pythonPackages; [ 16 - gst_python pygobject pykka tornado requests2 gst_plugins_base gst_plugins_good gst_plugins_ugly 20 + gst_python pygobject pykka tornado requests2 17 21 ]; 18 22 19 23 # There are no tests 20 24 doCheck = false; 21 25 22 - postInstall = '' 23 - wrapProgram $out/bin/mopidy \ 24 - --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" 26 + preFixup = '' 27 + gappsWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH") 25 28 ''; 26 29 27 30 meta = with stdenv.lib; {