mopidy: Fix fetching songs over HTTPS
The gstreamer plugin needs glib-networking to support HTTPS. Refactored to use wrapGAppsHook to wrap the gstreamer plugins and glib-networking.
This commit is contained in:
parent
b6d84748b9
commit
0397da7ec4
1 changed files with 9 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, pythonPackages, pygobject, gst_python
|
{ stdenv, fetchurl, pythonPackages, pygobject, gst_python, wrapGAppsHook
|
||||||
, gst_plugins_good, gst_plugins_base, gst_plugins_ugly
|
, glib_networking, gst_plugins_good, gst_plugins_base, gst_plugins_ugly
|
||||||
}:
|
}:
|
||||||
|
|
||||||
pythonPackages.buildPythonPackage rec {
|
pythonPackages.buildPythonPackage rec {
|
||||||
|
@ -12,16 +12,19 @@ pythonPackages.buildPythonPackage rec {
|
||||||
sha256 = "1xfyg8xqgnrb98wx7a4fzr4vlzkffjhkc1s36ka63rwmx86vqhyw";
|
sha256 = "1xfyg8xqgnrb98wx7a4fzr4vlzkffjhkc1s36ka63rwmx86vqhyw";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
wrapGAppsHook gst_plugins_base gst_plugins_good gst_plugins_ugly glib_networking
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
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
|
# There are no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
postInstall = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/mopidy \
|
gappsWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH")
|
||||||
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue