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