git.iko.soy/typeable/nixpkgs
on master help sign in
pithos: Use wrap-gapps-hook
commit93adb22c6faaaa3100882409daf11877ea672885 authorJascha Geerds <jg@ekby.de> dateSat 26 Sep 2015, 20:01 (11 years ago) parentf168f69
1 file changed+4−7
pkgs/applications/audio/pithos/default.nix+4−7
pkgs/applications/audio/pithos/default.nix+4−7
@@ -1,4 +1,5 @@
1−{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify, gst_all_1 }:
1+{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify
2+, gst_all_1, wrapGAppsHook }:
23
34pythonPackages.buildPythonPackage rec {
45 name = "pithos-${version}";
@@ -15,17 +16,13 @@ pythonPackages.buildPythonPackage rec {
1516 substituteInPlace setup.py --replace "/usr/share" "$out/share"
1617 '';
1718
19+ buildInputs = [ wrapGAppsHook ];
20+
1821 propagatedBuildInputs =
1922 [ gtk3 gobjectIntrospection libnotify ] ++
2023 (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++
2124 (with pythonPackages; [ pygobject3 pylast ]);
2225
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−
2926 meta = with stdenv.lib; {
3027 description = "Pandora Internet Radio player for GNOME";
3128 homepage = https://pithos.github.io/;