nixpkgs-suyu/pkgs/applications/networking/feedreaders/feedreader/default.nix

49 lines
1.4 KiB
Nix
Raw Normal View History

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