diff --git a/pkgs/by-name/lz/lzlib/package.nix b/pkgs/by-name/lz/lzlib/package.nix index b8c86221b489..db517669c5e8 100644 --- a/pkgs/by-name/lz/lzlib/package.nix +++ b/pkgs/by-name/lz/lzlib/package.nix @@ -1,15 +1,16 @@ { lib, stdenv, fetchurl, texinfo, lzip }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "lzlib"; - version = "1.13"; + version = "1.14"; outputs = [ "out" "info" ]; nativeBuildInputs = [ texinfo lzip ]; src = fetchurl { - url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz"; - sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM="; + url = "mirror://savannah/lzip/lzlib/lzlib-${finalAttrs.version}.tar.lz"; + sha256 = "e362ecccd82d4dd297df6a51b952c65d2172f9bf41a5c4590d3604d83aa519d3"; + # hash from release email }; postPatch = lib.optionalString stdenv.isDarwin '' @@ -21,12 +22,12 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-shared" ]; - meta = with lib; { - homepage = "https://www.nongnu.org/lzip/${pname}.html"; + meta = { + homepage = "https://www.nongnu.org/lzip/lzlib.html"; description = "Data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data"; - license = licenses.bsd2; - platforms = platforms.all; - maintainers = with maintainers; [ ehmry ]; + license = lib.licenses.bsd2; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ ehmry ]; }; -} +}) \ No newline at end of file