lrzip: 0.651 -> 0.660
https://github.com/ckolivas/lrzip/compare/v0.651...v0.660 https://github.com/ckolivas/lrzip/blob/v0.660/WHATS-NEW Fixes https://github.com/NixOS/nixpkgs/issues/490691 / CVE-2025-15571 Fixes https://github.com/NixOS/nixpkgs/issues/489351 / CVE-2025-15570
This commit is contained in:
@@ -16,24 +16,15 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lrzip";
|
||||
version = "0.651";
|
||||
version = "0.660";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ckolivas";
|
||||
repo = "lrzip";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-Mb324ojtLV0S10KhL7Vjf3DhSOtCy1pFMTzvLkTnpXM=";
|
||||
hash = "sha256-6nNGmruJBim34EqbgJ+hnLTfylEz6t6jLh3O9RcUY34=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
# Building the ASM/x86 directory creates an empty archive,
|
||||
# which fails on darwin, so remove it
|
||||
# https://github.com/ckolivas/lrzip/issues/193
|
||||
# https://github.com/Homebrew/homebrew-core/pull/85360
|
||||
substituteInPlace lzma/Makefile.am --replace "SUBDIRS = C ASM/x86" "SUBDIRS = C"
|
||||
substituteInPlace configure.ac --replace "-f elf64" "-f macho64"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
perl
|
||||
|
||||
Reference in New Issue
Block a user