2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, meson, ninja, pkg-config, appstream-glib
|
2020-04-24 23:36:52 +00:00
|
|
|
, wrapGAppsHook, pythonPackages, gtk3, gnome3, gobject-introspection
|
|
|
|
, libnotify, libsecret, gst_all_1 }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
pname = "pithos";
|
|
|
|
version = "1.5.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "10nnm55ql86x1qfmq6dx9a1igf7myjxibmvyhd7fyv06vdhfifgy";
|
|
|
|
};
|
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config appstream-glib wrapGAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs =
|
|
|
|
[ gtk3 gobject-introspection libnotify libsecret gnome3.adwaita-icon-theme ] ++
|
|
|
|
(with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++
|
|
|
|
(with pythonPackages; [ pygobject3 pylast ]);
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Pandora Internet Radio player for GNOME";
|
|
|
|
homepage = "https://pithos.github.io/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ obadz ];
|
|
|
|
};
|
|
|
|
}
|