feedreader: init at 2.2

This commit is contained in:
Edward Tjörnhammar 2017-05-25 17:33:19 +02:00 committed by Jan Tojnar
parent a48088769f
commit 5d88b73cef
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,50 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, vala_0_40, gettext
, appstream-glib, desktop-file-utils, glibcLocales, wrapGAppsHook
, curl, glib, gnome3, gst_all_1, json-glib, libnotify, libsecret, sqlite
}:
let
pname = "FeedReader";
version = "2.2";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "jangernert";
repo = pname;
rev = "v" + version;
sha256 = "17588hsa7xv92ba55kmbyvnijypp373yrly48kbc391wadp1z939";
};
nativeBuildInputs = [
meson ninja pkgconfig vala_0_40 gettext appstream-glib desktop-file-utils
glibcLocales wrapGAppsHook
];
buildInputs = [
curl glib json-glib libnotify libsecret sqlite
] ++ (with gnome3; [
gtk libgee libpeas libsoup rest webkitgtk gnome_online_accounts
gsettings_desktop_schemas
]) ++ (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;
};
}

View file

@ -2311,6 +2311,8 @@ with pkgs;
fdm = callPackage ../tools/networking/fdm {};
feedreader = callPackage ../applications/networking/feedreaders/feedreader {};
ferm = callPackage ../tools/networking/ferm { };
fgallery = callPackage ../tools/graphics/fgallery {