2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-06-04 21:25:54 +00:00
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, intltool
|
|
|
|
, python3Packages
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2020-06-04 21:25:54 +00:00
|
|
|
, glib
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
, sqlite
|
2024-10-05 01:00:54 +00:00
|
|
|
, libsoup_3
|
|
|
|
, webkitgtk_4_1
|
2020-06-04 21:25:54 +00:00
|
|
|
, json-glib
|
|
|
|
, gst_all_1
|
|
|
|
, libnotify
|
|
|
|
, gtk3
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, libpeas
|
2020-06-04 22:01:31 +00:00
|
|
|
, libsecret
|
2020-06-04 21:25:54 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, glib-networking
|
2022-07-25 21:38:28 +00:00
|
|
|
, gitUpdater
|
2014-03-09 17:51:40 +00:00
|
|
|
}:
|
2013-06-27 18:43:05 +00:00
|
|
|
|
2019-01-25 17:04:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-26 07:45:43 +00:00
|
|
|
pname = "liferea";
|
2024-10-02 03:12:33 +00:00
|
|
|
version = "1.15.8";
|
2013-06-27 18:43:05 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-09-05 05:14:32 +00:00
|
|
|
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
2024-10-02 03:12:33 +00:00
|
|
|
hash = "sha256-eBnysEppgYar2QEHq4P+5blmBgrW4H0jHPmYMXri8f8=";
|
2013-06-27 18:43:05 +00:00
|
|
|
};
|
|
|
|
|
2020-06-04 21:25:54 +00:00
|
|
|
nativeBuildInputs = [
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2020-06-04 21:25:54 +00:00
|
|
|
python3Packages.wrapPython
|
|
|
|
intltool
|
|
|
|
pkg-config
|
2023-06-22 11:49:31 +00:00
|
|
|
gobject-introspection
|
2020-06-04 21:25:54 +00:00
|
|
|
];
|
2017-03-03 22:01:17 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2020-06-04 21:25:54 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
2024-10-05 01:00:54 +00:00
|
|
|
webkitgtk_4_1
|
2020-06-04 21:25:54 +00:00
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
sqlite
|
2024-10-05 01:00:54 +00:00
|
|
|
libsoup_3
|
2020-06-04 21:25:54 +00:00
|
|
|
libpeas
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
json-glib
|
2020-06-04 22:01:31 +00:00
|
|
|
libsecret
|
2020-06-04 21:25:54 +00:00
|
|
|
glib-networking
|
|
|
|
libnotify
|
2017-03-03 22:01:17 +00:00
|
|
|
] ++ (with gst_all_1; [
|
2020-06-04 21:25:54 +00:00
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-good
|
|
|
|
gst-plugins-bad
|
2017-03-03 22:01:17 +00:00
|
|
|
]);
|
|
|
|
|
2023-12-31 22:16:29 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2023-12-09 03:57:35 +00:00
|
|
|
postFixup = ''
|
|
|
|
buildPythonPath ${python3Packages.pycairo}
|
|
|
|
patchPythonScript $out/lib/liferea/plugins/trayicon.py
|
2014-03-09 17:51:40 +00:00
|
|
|
'';
|
|
|
|
|
2022-07-25 21:38:28 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://github.com/lwindolf/${pname}";
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-01-04 23:54:03 +00:00
|
|
|
description = "GTK-based news feed aggregator";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://lzone.de/liferea/";
|
2015-12-30 09:59:02 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2023-08-22 08:23:50 +00:00
|
|
|
maintainers = with maintainers; [ romildo yayayayaka ];
|
2015-12-30 09:59:02 +00:00
|
|
|
platforms = platforms.linux;
|
2014-03-11 02:37:42 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Liferea (Linux Feed Reader) is an RSS/RDF feed reader.
|
|
|
|
It's intended to be a clone of the Windows-only FeedReader.
|
|
|
|
It can be used to maintain a list of subscribed feeds,
|
|
|
|
browse through their items, and show their contents.
|
|
|
|
'';
|
2013-06-27 18:43:05 +00:00
|
|
|
};
|
|
|
|
}
|