2015-04-28 02:02:55 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cppcheck, libmrss }:
|
|
|
|
|
2015-08-11 01:55:18 +02:00
|
|
|
let version = "2.0"; in
|
2015-04-28 02:02:55 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rsstail-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2015-08-11 01:55:18 +02:00
|
|
|
sha256 = "0fbsyl5bdxr2g25ps7kd34sa0mzggklbg4v7qss68gh82zdp16ch";
|
|
|
|
rev = "69dc5e30439b89c037aa49c5af861f28df607c72";
|
2015-04-28 02:02:55 +02:00
|
|
|
repo = "rsstail";
|
|
|
|
owner = "flok99";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit version;
|
|
|
|
description = "Monitor RSS feeds for new entries";
|
|
|
|
longDescription = ''
|
|
|
|
RSSTail is more or less an RSS reader: it monitors an RSS feed and if it
|
|
|
|
detects a new entry it'll emit only that new entry.
|
|
|
|
'';
|
|
|
|
homepage = http://www.vanheusden.com/rsstail/;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2015-04-28 02:02:55 +02:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libmrss ]
|
|
|
|
++ stdenv.lib.optional doCheck cppcheck;
|
|
|
|
|
|
|
|
postPatch = ''
|
2015-08-11 01:55:18 +02:00
|
|
|
substituteInPlace Makefile --replace -liconv ""
|
2015-04-28 02:02:55 +02:00
|
|
|
'';
|
|
|
|
|
2015-08-11 01:55:18 +02:00
|
|
|
makeFlags = "prefix=$(out)";
|
2015-04-28 02:02:55 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
}
|