pithos: Use wrap-gapps-hook

+4 -7
+4 -7
pkgs/applications/audio/pithos/default.nix
··· 1 - { fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify, gst_all_1 }: 2 3 pythonPackages.buildPythonPackage rec { 4 name = "pithos-${version}"; ··· 15 substituteInPlace setup.py --replace "/usr/share" "$out/share" 16 ''; 17 18 propagatedBuildInputs = 19 [ gtk3 gobjectIntrospection libnotify ] ++ 20 (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++ 21 (with pythonPackages; [ pygobject3 pylast ]); 22 - 23 - postInstall = '' 24 - wrapProgram "$out/bin/pithos" \ 25 - --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \ 26 - --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" 27 - ''; 28 29 meta = with stdenv.lib; { 30 description = "Pandora Internet Radio player for GNOME";
··· 1 + { fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify 2 + , gst_all_1, wrapGAppsHook }: 3 4 pythonPackages.buildPythonPackage rec { 5 name = "pithos-${version}"; ··· 16 substituteInPlace setup.py --replace "/usr/share" "$out/share" 17 ''; 18 19 + buildInputs = [ wrapGAppsHook ]; 20 + 21 propagatedBuildInputs = 22 [ gtk3 gobjectIntrospection libnotify ] ++ 23 (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++ 24 (with pythonPackages; [ pygobject3 pylast ]); 25 26 meta = with stdenv.lib; { 27 description = "Pandora Internet Radio player for GNOME";