1 { stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, appstream-glib, glib
2 , wrapGAppsHook3, pythonPackages, gtk3, adwaita-icon-theme, gobject-introspection
3 , libnotify, libsecret, gst_all_1 }:
5 pythonPackages.buildPythonApplication rec {
9 src = fetchFromGitHub {
12 rev = "refs/tags/${version}";
13 hash = "sha256-3j6IoMi30BQ8WHK4BxbsW+/3XZx7rBFd47EBENa2GiQ=";
19 chmod +x meson_post_install.py
20 patchShebangs meson_post_install.py
23 nativeBuildInputs = [ meson ninja pkg-config appstream-glib wrapGAppsHook3 gobject-introspection ];
25 buildInputs = [ gtk3 libnotify libsecret glib ]
26 ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]);
28 propagatedBuildInputs =
29 [ adwaita-icon-theme ] ++
30 (with pythonPackages; [ pygobject3 pylast ]);
33 broken = stdenv.hostPlatform.isDarwin;
34 description = "Pandora Internet Radio player for GNOME";
35 mainProgram = "pithos";
36 homepage = "https://pithos.github.io/";
37 license = licenses.gpl3;
38 maintainers = with maintainers; [ obadz ];