2014-03-09 17:51:40 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, python, pygobject3
|
|
|
|
, glib, gnome3, pango, libxml2, libxslt, sqlite, libsoup
|
|
|
|
, webkitgtk, json_glib, gobjectIntrospection, gsettings_desktop_schemas
|
|
|
|
, gst_all_1
|
|
|
|
, libnotify
|
|
|
|
, makeWrapper
|
|
|
|
}:
|
2013-06-27 19:43:05 +01:00
|
|
|
|
2014-03-09 17:51:40 +00:00
|
|
|
let pname = "liferea";
|
|
|
|
version = "1.10.6";
|
2013-06-27 19:43:05 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2014-03-09 17:51:40 +00:00
|
|
|
name = "${pname}-${version}";
|
2013-06-27 19:43:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-03-09 17:51:40 +00:00
|
|
|
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${name}.tar.gz";
|
|
|
|
sha256 = "0vp19z4p3cn3zbg1zjpg2iyzwq893dx5c1kh6aac06s3rf1124gm";
|
2013-06-27 19:43:05 +01: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
|
|
|
|
webkitgtk json_glib gobjectIntrospection gsettings_desktop_schemas
|
|
|
|
gnome3.libpeas
|
|
|
|
gst-plugins-base gst-plugins-good gst-plugins-bad
|
|
|
|
gnome3.gnome_keyring
|
2013-06-27 19:43:05 +01:00
|
|
|
libnotify
|
2014-03-09 17:51:40 +00:00
|
|
|
makeWrapper
|
2013-06-27 19:43:05 +01:00
|
|
|
];
|
|
|
|
|
2013-11-27 11:44:09 +00:00
|
|
|
preFixup = ''
|
|
|
|
rm $out/share/icons/hicolor/icon-theme.cache'';
|
|
|
|
|
2014-03-09 17:51:40 +00:00
|
|
|
postInstall = ''
|
|
|
|
for f in "$out"/bin/*; do
|
|
|
|
wrapProgram "$f" \
|
|
|
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \
|
|
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
|
|
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gnome_icon_theme}/share:${gsettings_desktop_schemas}/share:${gnome3.gtk}/share:$out/share"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2013-06-27 19:43:05 +01:00
|
|
|
meta = {
|
|
|
|
description = "A GTK-based news feed agregator";
|
|
|
|
homepage = http://lzone.de/liferea/;
|
2014-03-09 17:51:40 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vcunat romildo ];
|
2013-09-10 14:54:06 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-06-27 19:43:05 +01:00
|
|
|
};
|
|
|
|
}
|