rsstail: don't run cppcheck linter, little cleanup

This commit is contained in:
Sandro Jäckel 2023-02-15 21:41:18 +01:00
parent 34f3085148
commit 02124bbb7e
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,18 +1,17 @@
{ lib, stdenv, fetchFromGitHub, cppcheck, libmrss, libiconv }:
{ lib, stdenv, fetchFromGitHub, libmrss, libiconv }:
stdenv.mkDerivation {
pname = "rsstail";
version = "2.1";
src = fetchFromGitHub {
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
repo = "rsstail";
owner = "folkertvanheusden";
repo = "rsstail";
rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
};
buildInputs = [ libmrss ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
nativeCheckInputs = [ cppcheck ];
postPatch = ''
substituteInPlace Makefile --replace -liconv_hook ""
@ -21,7 +20,8 @@ stdenv.mkDerivation {
makeFlags = [ "prefix=$(out)" ];
enableParallelBuilding = true;
doCheck = true;
# just runs cppcheck linter
doCheck = false;
meta = with lib; {
description = "Monitor RSS feeds for new entries";
@ -29,7 +29,7 @@ stdenv.mkDerivation {
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/";
homepage = "https://www.vanheusden.com/rsstail/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.Necior ];
platforms = platforms.unix;