forked from mirrors/nixpkgs
0ea3fc3749
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/liferea -h` got 0 exit code - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/liferea --help` got 0 exit code - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/liferea -v` and found version 1.12.2 - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/liferea --version` and found version 1.12.2 - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/.liferea-wrapped -h` got 0 exit code - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/.liferea-wrapped --help` got 0 exit code - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/.liferea-wrapped -v` and found version 1.12.2 - ran `/nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2/bin/.liferea-wrapped --version` and found version 1.12.2 - found 1.12.2 with grep in /nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2 - found 1.12.2 in filename of file in /nix/store/wjf8q5k0hh2vcjw65v2skcn54pq3vb0q-liferea-1.12.2
51 lines
1.7 KiB
Nix
51 lines
1.7 KiB
Nix
{ stdenv, fetchurl, pkgconfig, intltool, python3Packages, wrapGAppsHook
|
|
, glib, libxml2, libxslt, sqlite, libsoup , webkitgtk, json-glib, gst_all_1
|
|
, libnotify, gtk3, gsettings-desktop-schemas, libpeas, dconf, librsvg
|
|
, gobjectIntrospection, glib-networking
|
|
}:
|
|
|
|
let
|
|
pname = "liferea";
|
|
version = "1.12.2";
|
|
in stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${name}.tar.bz2";
|
|
sha256 = "18mz1drp6axvjbr9jdw3i0ijl3l2m191198p4c93qnm7g96ldh15";
|
|
};
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook python3Packages.wrapPython intltool pkgconfig ];
|
|
|
|
buildInputs = [
|
|
glib gtk3 webkitgtk libxml2 libxslt sqlite libsoup gsettings-desktop-schemas
|
|
libpeas gsettings-desktop-schemas json-glib dconf gobjectIntrospection
|
|
librsvg glib-networking libnotify
|
|
] ++ (with gst_all_1; [
|
|
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad
|
|
]);
|
|
|
|
pythonPath = with python3Packages; [ pygobject3 pycairo ];
|
|
|
|
preFixup = ''
|
|
rm "$out/share/icons/hicolor/icon-theme.cache"
|
|
buildPythonPath "$out $pythonPath"
|
|
gappsWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
|
|
'';
|
|
|
|
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.
|
|
'';
|
|
};
|
|
}
|