nixpkgs/pkgs/by-name/li/liferea/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

90 lines
1.8 KiB
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, pkg-config
, intltool
, python3Packages
, wrapGAppsHook3
, glib
, libxml2
, libxslt
, sqlite
, libsoup_3
, webkitgtk_4_1
, json-glib
, gst_all_1
, libnotify
, gtk3
, gsettings-desktop-schemas
, libpeas
, libsecret
, gobject-introspection
, glib-networking
2022-07-25 21:38:28 +00:00
, gitUpdater
}:
2019-01-25 17:04:54 +00:00
stdenv.mkDerivation rec {
pname = "liferea";
2024-10-02 03:12:33 +00:00
version = "1.15.8";
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=";
};
nativeBuildInputs = [
wrapGAppsHook3
python3Packages.wrapPython
intltool
pkg-config
gobject-introspection
];
buildInputs = [
glib
gtk3
webkitgtk_4_1
libxml2
libxslt
sqlite
libsoup_3
libpeas
gsettings-desktop-schemas
json-glib
libsecret
glib-networking
libnotify
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
]);
enableParallelBuilding = true;
postFixup = ''
buildPythonPath ${python3Packages.pycairo}
patchPythonScript $out/lib/liferea/plugins/trayicon.py
'';
2022-07-25 21:38:28 +00:00
passthru.updateScript = gitUpdater {
url = "https://github.com/lwindolf/${pname}";
rev-prefix = "v";
};
meta = with lib; {
description = "GTK-based news feed aggregator";
homepage = "http://lzone.de/liferea/";
license = licenses.gpl2Plus;
2023-08-22 08:23:50 +00:00
maintainers = with maintainers; [ romildo yayayayaka ];
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.
'';
};
}