nixpkgs/pkgs/by-name/li/liferea/package.nix
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00

97 lines
1.9 KiB
Nix

{
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,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "liferea";
version = "1.15.8";
src = fetchurl {
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
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
'';
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;
maintainers = with maintainers; [
romildo
yayayayaka
];
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.
'';
};
}