diff --git a/pkgs/by-name/sf/sfeed/package.nix b/pkgs/by-name/sf/sfeed/package.nix index a3d3349b504fa..87a1dd0ba2f75 100644 --- a/pkgs/by-name/sf/sfeed/package.nix +++ b/pkgs/by-name/sf/sfeed/package.nix @@ -5,14 +5,14 @@ ncurses, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "sfeed"; - version = "2.0"; + version = "2.1"; src = fetchgit { url = "git://git.codemadness.org/sfeed"; - rev = version; - sha256 = "sha256-DbzJWi9wAc7w2Z0bQt5PEFOuu9L3xzNrJvCocvCer34="; + 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; }; -} +})