30f14243c3
Comparison to master evaluations on Hydra: - 1255515 for nixos - 1255502 for nixpkgs
54 lines
1.8 KiB
Nix
54 lines
1.8 KiB
Nix
{ stdenv, fetchurl, pkgconfig, intltool, python, pygobject3
|
|
, glib, gnome3, pango, libxml2, libxslt, sqlite, libsoup, glib_networking
|
|
, webkitgtk, json_glib, gobjectIntrospection, gst_all_1
|
|
, libnotify
|
|
, makeWrapper
|
|
}:
|
|
|
|
let pname = "liferea";
|
|
version = "1.10.19";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${name}.tar.bz2";
|
|
sha256 = "1h6x8xd4ldrgw9mbf2gwf7wxi6z34h0d0rnwy9kyskdcgkymvi80";
|
|
};
|
|
|
|
buildInputs = with gst_all_1; [
|
|
pkgconfig intltool python
|
|
glib gnome3.gtk pango libxml2 libxslt sqlite libsoup
|
|
webkitgtk json_glib gobjectIntrospection gnome3.gsettings_desktop_schemas
|
|
gnome3.libpeas gnome3.dconf
|
|
gst-plugins-base gst-plugins-good gst-plugins-bad
|
|
gnome3.libgnome_keyring gnome3.defaultIconTheme
|
|
libnotify
|
|
makeWrapper
|
|
];
|
|
|
|
preFixup = ''
|
|
for f in "$out"/bin/*; do
|
|
wrapProgram "$f" \
|
|
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
|
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules:${glib_networking.out}/lib/gio/modules" \
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gtk}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
|
done
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A GTK-based news feed aggregator";
|
|
homepage = http://lzone.de/liferea/;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ vcunat romildo ];
|
|
platforms = platforms.linux;
|
|
|
|
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.
|
|
'';
|
|
};
|
|
}
|