2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, nix-update-script, meson, ninja, pkg-config, vala, gettext, python3
|
2020-07-07 22:39:44 +01:00
|
|
|
, appstream-glib, desktop-file-utils, wrapGAppsHook, gnome-online-accounts
|
2019-12-22 23:19:30 +00:00
|
|
|
, gtk3, libgee, libpeas, librest, webkitgtk, gsettings-desktop-schemas, pantheon
|
2019-03-01 08:06:20 +00:00
|
|
|
, curl, glib, gnome3, gst_all_1, json-glib, libnotify, libsecret, sqlite, gumbo, libxml2
|
2017-05-25 16:33:19 +01:00
|
|
|
}:
|
|
|
|
|
2019-01-28 18:32:27 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "feedreader";
|
2020-07-07 22:39:44 +01:00
|
|
|
version = "2.11.0";
|
2017-05-25 16:33:19 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jangernert";
|
|
|
|
repo = pname;
|
2019-01-28 18:32:27 +00:00
|
|
|
rev = "v${version}";
|
2020-07-07 22:39:44 +01:00
|
|
|
sha256 = "1agy1nkpkdsy2kbrrc8nrwphj5n86rikjjvwkr8klbf88mzl6civ";
|
2017-05-25 16:33:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:09:27 +00:00
|
|
|
meson ninja pkg-config vala gettext appstream-glib desktop-file-utils
|
2019-02-25 03:49:53 +00:00
|
|
|
libxml2 python3 wrapGAppsHook
|
2017-05-25 16:33:19 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-02-25 03:49:53 +00:00
|
|
|
curl glib json-glib libnotify libsecret sqlite gumbo gtk3
|
2019-03-01 08:06:20 +00:00
|
|
|
libgee libpeas gnome3.libsoup librest webkitgtk gsettings-desktop-schemas
|
2019-08-23 01:45:09 +01:00
|
|
|
gnome-online-accounts
|
2019-02-25 03:49:53 +00:00
|
|
|
] ++ (with gst_all_1; [
|
2017-05-25 16:33:19 +01:00
|
|
|
gstreamer gst-plugins-base gst-plugins-good
|
|
|
|
]);
|
|
|
|
|
|
|
|
postPatch = ''
|
2019-05-29 02:20:01 +01:00
|
|
|
patchShebangs build-aux/meson_post_install.py
|
2017-05-25 16:33:19 +01:00
|
|
|
'';
|
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 23:19:30 +00:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-01-28 18:32:27 +00:00
|
|
|
description = "A modern desktop application designed to complement existing web-based RSS accounts";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://jangernert.github.io/FeedReader/";
|
2017-05-25 16:33:19 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2019-02-25 03:49:53 +00:00
|
|
|
maintainers = with maintainers; [ edwtjo worldofpeace ];
|
2017-05-25 16:33:19 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|