3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/feedreaders/feedreader/default.nix

44 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, vala, gettext, python3
, appstream-glib, desktop-file-utils, wrapGAppsHook
, gtk3, libgee, libpeas, librest, webkitgtk, gsettings-desktop-schemas, hicolor-icon-theme
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";
version = "2.9.2";
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}";
sha256 = "1468kl1gip7h2k5l9x3shp3vxdnx08mr1n4845zinaqz4dpa70jv";
2017-05-25 16:33:19 +01:00
};
nativeBuildInputs = [
meson ninja pkgconfig vala gettext appstream-glib desktop-file-utils
libxml2 python3 wrapGAppsHook
2017-05-25 16:33:19 +01:00
];
buildInputs = [
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
gnome3.gnome-online-accounts
hicolor-icon-theme # for setup hook
] ++ (with gst_all_1; [
2017-05-25 16:33:19 +01:00
gstreamer gst-plugins-base gst-plugins-good
]);
postPatch = ''
patchShebangs build-aux/meson_post_install.py
2017-05-25 16:33:19 +01:00
'';
meta = with stdenv.lib; {
2019-01-28 18:32:27 +00:00
description = "A modern desktop application designed to complement existing web-based RSS accounts";
2017-05-25 16:33:19 +01:00
homepage = https://jangernert.github.io/FeedReader/;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ edwtjo worldofpeace ];
2017-05-25 16:33:19 +01:00
platforms = platforms.linux;
};
}