Unverified Commit b915f841 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

sfeed: modernize

parent 9c8a87d8
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@
  ncurses,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "sfeed";
  version = "2.1";

  src = fetchgit {
    url = "git://git.codemadness.org/sfeed";
    rev = version;
    sha256 = "sha256-KVZsVCTkwyOVr37vIXbiPjQLnb9lbuIlNxpZNvHxbEo=";
    tag = finalAttrs.version;
    hash = "sha256-KVZsVCTkwyOVr37vIXbiPjQLnb9lbuIlNxpZNvHxbEo=";
  };

  buildInputs = [ ncurses ];
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
  # otherwise does not find SIGWINCH
  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";

  meta = with lib; {
  meta = {
    homepage = "https://codemadness.org/sfeed-simple-feed-parser.html";
    description = "RSS and Atom parser (and some format programs)";
    longDescription = ''
@@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
      to import and export OPML and to fetch, filter, merge and order feed
      items.
    '';
    license = licenses.isc;
    maintainers = [ maintainers.matthiasbeyer ];
    platforms = platforms.all;
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.matthiasbeyer ];
    platforms = lib.platforms.all;
  };
}
})