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 }: 1 + { fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify 2 + , gst_all_1, wrapGAppsHook }: 2 3 3 4 pythonPackages.buildPythonPackage rec { 4 5 name = "pithos-${version}"; ··· 15 16 substituteInPlace setup.py --replace "/usr/share" "$out/share" 16 17 ''; 17 18 19 + buildInputs = [ wrapGAppsHook ]; 20 + 18 21 propagatedBuildInputs = 19 22 [ gtk3 gobjectIntrospection libnotify ] ++ 20 23 (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++ 21 24 (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 25 29 26 meta = with stdenv.lib; { 30 27 description = "Pandora Internet Radio player for GNOME";