mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
77746d1ddf
Project's repository has been moved. Former location, `github.com/flok99/rsstail`, is no longer accessible. The author moved the code repository to `github.com/folkertvanheusden/rsstail`. I've verified this in the following ways. First of all, by checking project's homepage, i.e. https://www.vanheusden.com/rsstail/. It indeed points to the new location. Second of all, I've emailed the author, Folkert van Heusden, and they confirmed the new location. What is more, one can also note that the commit hash is still the same.
38 lines
1.0 KiB
Nix
38 lines
1.0 KiB
Nix
{ lib, stdenv, fetchFromGitHub, cppcheck, libmrss, libiconv }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "rsstail";
|
|
version = "2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
|
|
rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
|
|
repo = "rsstail";
|
|
owner = "folkertvanheusden";
|
|
};
|
|
|
|
buildInputs = [ libmrss ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
checkInputs = [ cppcheck ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace Makefile --replace -liconv_hook ""
|
|
'';
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
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/";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.Necior ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|