2018-09-03 19:36:10 +01:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, vala_0_40, gettext, python3
|
2017-05-25 16:33:19 +01:00
|
|
|
, appstream-glib, desktop-file-utils, glibcLocales, wrapGAppsHook
|
2018-11-17 22:47:18 +00:00
|
|
|
, curl, glib, gnome3, gst_all_1, json-glib, libnotify, libsecret, sqlite, gumbo
|
2017-05-25 16:33:19 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "FeedReader";
|
2019-01-28 18:01:11 +00:00
|
|
|
version = "2.6.2";
|
2017-05-25 16:33:19 +01:00
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jangernert";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v" + version;
|
2019-01-28 18:01:11 +00:00
|
|
|
sha256 = "1x5milynfa27zyv2jkzyi7ikkszrvzki1hlzv8c2wvcmw60jqb8n";
|
2017-05-25 16:33:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja pkgconfig vala_0_40 gettext appstream-glib desktop-file-utils
|
2018-09-03 19:36:10 +01:00
|
|
|
python3 glibcLocales wrapGAppsHook
|
2017-05-25 16:33:19 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-11-17 22:47:18 +00:00
|
|
|
curl glib json-glib libnotify libsecret sqlite gumbo
|
2017-05-25 16:33:19 +01:00
|
|
|
] ++ (with gnome3; [
|
2018-07-22 03:03:24 +01:00
|
|
|
gtk libgee libpeas libsoup rest webkitgtk gnome-online-accounts
|
|
|
|
gsettings-desktop-schemas
|
2017-05-25 16:33:19 +01:00
|
|
|
]) ++ (with gst_all_1; [
|
|
|
|
gstreamer gst-plugins-base gst-plugins-good
|
|
|
|
]);
|
|
|
|
|
|
|
|
# TODO: fix https://github.com/NixOS/nixpkgs/issues/39547
|
|
|
|
LIBRARY_PATH = stdenv.lib.makeLibraryPath [ curl ];
|
|
|
|
|
|
|
|
# vcs_tag function fails with UnicodeDecodeError
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A modern desktop application designed to complement existing web-based RSS accounts.";
|
|
|
|
homepage = https://jangernert.github.io/FeedReader/;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|