2016-09-26 07:45:43 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, pythonPackages
|
2014-03-11 21:01:12 +00:00
|
|
|
, glib, gnome3, pango, libxml2, libxslt, sqlite, libsoup, glib_networking
|
2014-03-11 02:37:42 +00:00
|
|
|
, webkitgtk, json_glib, gobjectIntrospection, gst_all_1
|
2014-03-09 17:51:40 +00:00
|
|
|
, libnotify
|
|
|
|
, makeWrapper
|
|
|
|
}:
|
2013-06-27 18:43:05 +00:00
|
|
|
|
2016-09-26 07:45:43 +00:00
|
|
|
let
|
|
|
|
pname = "liferea";
|
|
|
|
version = "1.10.19";
|
|
|
|
inherit (pythonPackages) python pygobject3;
|
|
|
|
in stdenv.mkDerivation rec {
|
2014-03-09 17:51:40 +00:00
|
|
|
name = "${pname}-${version}";
|
2013-06-27 18:43:05 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-03-18 09:05:48 +00:00
|
|
|
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${name}.tar.bz2";
|
2016-04-05 21:31:24 +00:00
|
|
|
sha256 = "1h6x8xd4ldrgw9mbf2gwf7wxi6z34h0d0rnwy9kyskdcgkymvi80";
|
2013-06-27 18:43:05 +00:00
|
|
|
};
|
|
|
|
|
2014-03-09 17:51:40 +00:00
|
|
|
buildInputs = with gst_all_1; [
|
|
|
|
pkgconfig intltool python
|
|
|
|
glib gnome3.gtk pango libxml2 libxslt sqlite libsoup
|
2014-03-11 02:37:42 +00:00
|
|
|
webkitgtk json_glib gobjectIntrospection gnome3.gsettings_desktop_schemas
|
|
|
|
gnome3.libpeas gnome3.dconf
|
2014-03-09 17:51:40 +00:00
|
|
|
gst-plugins-base gst-plugins-good gst-plugins-bad
|
2015-05-19 12:40:04 +00:00
|
|
|
gnome3.libgnome_keyring gnome3.defaultIconTheme
|
2013-06-27 18:43:05 +00:00
|
|
|
libnotify
|
2014-03-09 17:51:40 +00:00
|
|
|
makeWrapper
|
2013-06-27 18:43:05 +00:00
|
|
|
];
|
|
|
|
|
2013-11-27 11:44:09 +00:00
|
|
|
preFixup = ''
|
2014-03-09 17:51:40 +00:00
|
|
|
for f in "$out"/bin/*; do
|
|
|
|
wrapProgram "$f" \
|
|
|
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \
|
|
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
2015-10-11 14:06:34 +00:00
|
|
|
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules:${glib_networking.out}/lib/gio/modules" \
|
2016-08-23 01:34:36 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gtk.out}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
2014-03-09 17:51:40 +00:00
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2015-12-30 09:59:02 +00:00
|
|
|
meta = with stdenv.lib; {
|
2016-01-04 23:54:03 +00:00
|
|
|
description = "A GTK-based news feed aggregator";
|
2013-06-27 18:43:05 +00:00
|
|
|
homepage = http://lzone.de/liferea/;
|
2015-12-30 09:59:02 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ vcunat romildo ];
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|