8 stdenv.mkDerivation rec {
13 url = "git://git.codemadness.org/sfeed";
15 sha256 = "sha256-DbzJWi9wAc7w2Z0bQt5PEFOuu9L3xzNrJvCocvCer34=";
18 buildInputs = [ ncurses ];
23 "SFEED_CURSES_LDFLAGS:=-lncurses"
25 # use macOS's strlcat() and strlcpy() instead of vendored ones
26 ++ lib.optional stdenv.hostPlatform.isDarwin "COMPATOBJ:=";
28 installFlags = [ "PREFIX=$(out)" ];
30 # otherwise does not find SIGWINCH
31 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
34 homepage = "https://codemadness.org/sfeed-simple-feed-parser.html";
35 description = "RSS and Atom parser (and some format programs)";
37 It converts RSS or Atom feeds from XML to a TAB-separated file. There are
38 formatting programs included to convert this TAB-separated format to
39 various other formats. There are also some programs and scripts included
40 to import and export OPML and to fetch, filter, merge and order feed
43 license = licenses.isc;
44 maintainers = [ maintainers.matthiasbeyer ];
45 platforms = platforms.all;