2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, meson, ninja, pkg-config, appstream-glib
|
2021-05-07 22:18:14 +01:00
|
|
|
, wrapGAppsHook, pythonPackages, gtk3, gnome, gobject-introspection
|
2019-08-30 02:44:33 +01:00
|
|
|
, libnotify, libsecret, gst_all_1 }:
|
2015-04-22 03:15:13 +01:00
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2016-01-27 16:24:23 +00:00
|
|
|
pname = "pithos";
|
2019-11-02 19:31:48 +00:00
|
|
|
version = "1.5.0";
|
2015-04-22 03:15:13 +01:00
|
|
|
|
2015-09-23 13:00:26 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-01-27 16:24:23 +00:00
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2015-09-23 13:00:26 +01:00
|
|
|
rev = version;
|
2019-11-02 19:31:48 +00:00
|
|
|
sha256 = "10nnm55ql86x1qfmq6dx9a1igf7myjxibmvyhd7fyv06vdhfifgy";
|
2015-04-22 03:15:13 +01:00
|
|
|
};
|
|
|
|
|
2019-08-30 02:44:33 +01:00
|
|
|
format = "other";
|
2016-05-28 15:10:06 +01:00
|
|
|
|
2015-04-22 03:15:13 +01:00
|
|
|
postPatch = ''
|
2019-08-30 02:44:33 +01:00
|
|
|
chmod +x meson_post_install.py
|
|
|
|
patchShebangs meson_post_install.py
|
2015-04-22 03:15:13 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config appstream-glib wrapGAppsHook ];
|
2015-09-26 19:01:08 +01:00
|
|
|
|
2015-09-23 13:00:26 +01:00
|
|
|
propagatedBuildInputs =
|
2021-05-07 22:18:14 +01:00
|
|
|
[ gtk3 gobject-introspection libnotify libsecret gnome.adwaita-icon-theme ] ++
|
2015-09-23 13:00:26 +01:00
|
|
|
(with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++
|
|
|
|
(with pythonPackages; [ pygobject3 pylast ]);
|
2015-04-22 03:15:13 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-09-23 13:00:26 +01:00
|
|
|
description = "Pandora Internet Radio player for GNOME";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pithos.github.io/";
|
2015-04-22 03:15:13 +01:00
|
|
|
license = licenses.gpl3;
|
2019-03-12 22:45:33 +00:00
|
|
|
maintainers = with maintainers; [ obadz ];
|
2015-04-22 03:15:13 +01:00
|
|
|
};
|
|
|
|
}
|