Skip to content

Commit

Permalink
sfeed: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Dec 27, 2024
1 parent 9c8a87d commit b915f84
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkgs/by-name/sf/sfeed/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand All @@ -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 = ''
Expand All @@ -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;
};
}
})

0 comments on commit b915f84

Please sign in to comment.