@@ -3,14 +3,14 @@
33
44rustPlatform.buildRustPackage rec {
55 name = "newsboat-${version}";
6− version = "2.15";
6+ version = "2.16.1";
77
88 src = fetchurl {
99 url = "https://newsboat.org/releases/${version}/${name}.tar.xz";
10− sha256 = "1dqdcp34jmphqf3d8ik0xdhg0s66nd5rky0y8y591nidq29wws6s";
10+ sha256 = "0lxdsfcwa4byhfnn0gv34w3rr531f4nfqgi8j4qqmh3gncbwh8s0";
1111 };
1212
13− cargoSha256 = "06r682vvr8m7gl443qx9ncmq8dpmdxcls68f29d0mmf7llddy5sa";
13+ cargoSha256 = "0ck2dgfk4fay4cjl66wqkbnq4rqrd717jl63l1mvqmvad9i19igm";
1414
1515 postPatch = ''
1616 substituteInPlace Makefile --replace "|| true" ""
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
2020 '';
2121
2222 nativeBuildInputs = [ pkgconfig asciidoc docbook_xml_dtd_45 libxslt docbook_xsl ]
23− ++ stdenv.lib.optional stdenv.isDarwin [ makeWrapper libiconv ];
23+ ++ stdenv.lib.optionals stdenv.isDarwin [ makeWrapper libiconv ];
2424
2525 buildInputs = [ stfl sqlite curl gettext libxml2 json_c ncurses ]
2626 ++ stdenv.lib.optional stdenv.isDarwin Security;
@@ -29,7 +29,8 @@ rustPlatform.buildRustPackage rec {
2929 make
3030 '';
3131
32− NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
32+ NIX_CFLAGS_COMPILE = [ "-Wno-error=sign-compare" ]
33+ ++ stdenv.lib.optional stdenv.isDarwin "-Wno-error=format-security";
3334
3435 doCheck = true;
3536
@@ -48,7 +49,7 @@ rustPlatform.buildRustPackage rec {
4849
4950 meta = with stdenv.lib; {
5051 homepage = https://newsboat.org/;
51− description = "A fork of Newsbeuter, an RSS/Atom feed reader for the text console.";
52+ description = "A fork of Newsbeuter, an RSS/Atom feed reader for the text console";
5253 maintainers = with maintainers; [ dotlambda nicknovitski ];
5354 license = licenses.mit;
5455 platforms = platforms.unix;