tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pithos: Use wrap-gapps-hook
Jascha Geerds
10 years ago
93adb22c
f168f690
+4
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
audio
pithos
default.nix
+4
-7
pkgs/applications/audio/pithos/default.nix
···
1
1
-
{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify, gst_all_1 }:
1
1
+
{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify
2
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
19
+
buildInputs = [ wrapGAppsHook ];
20
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
22
-
23
23
-
postInstall = ''
24
24
-
wrapProgram "$out/bin/pithos" \
25
25
-
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
26
26
-
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH"
27
27
-
'';
28
25
29
26
meta = with stdenv.lib; {
30
27
description = "Pandora Internet Radio player for GNOME";