From 000f8fd419f741777e9a7ae86eba9bbaab313c3c Mon Sep 17 00:00:00 2001 From: Xiangyan Sun Date: Sun, 3 May 2026 15:57:31 -0700 Subject: [PATCH] pe-parse: 2.1.1 -> 2.1.1-unstable-2026-01-08 Co-authored-by: Michael Daniels --- pkgs/by-name/pe/pe-parse/package.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/pe/pe-parse/package.nix b/pkgs/by-name/pe/pe-parse/package.nix index 177a90c0be43..432ebd05db97 100644 --- a/pkgs/by-name/pe/pe-parse/package.nix +++ b/pkgs/by-name/pe/pe-parse/package.nix @@ -3,26 +3,22 @@ stdenv, fetchFromGitHub, cmake, + icu, }: stdenv.mkDerivation (finalAttrs: { pname = "pe-parse"; - version = "2.1.1"; + version = "2.1.1-unstable-2026-01-12"; src = fetchFromGitHub { owner = "trailofbits"; repo = "pe-parse"; - rev = "v${finalAttrs.version}"; - hash = "sha256-XegSZWRoQg6NEWuTSFI1RMvN3GbpLDrZrloPU2XdK2M="; + rev = "b0dabd3fdcccd8f53bab500a45e92f37c6fec936"; + hash = "sha256-j1QJ12hEy1c7SRIJSiFwQwJhhDKGbUrquFXDZbNNEDk="; }; nativeBuildInputs = [ cmake ]; - - env.NIX_CFLAGS_COMPILE = toString ( - lib.optionals stdenv.cc.isClang [ - "-Wno-error=deprecated-declarations" - ] - ); + buildInputs = [ icu ]; doInstallCheck = true; installCheckPhase = '' @@ -32,7 +28,8 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Principled, lightweight parser for Windows portable executable files"; homepage = "https://github.com/trailofbits/pe-parse"; - changelog = "https://github.com/trailofbits/pe-parse/releases/tag/v${finalAttrs.version}"; + ${if lib.hasInfix "unstable" finalAttrs.version then null else "changelog"} = + "https://github.com/trailofbits/pe-parse/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ arturcygan ]; mainProgram = "dump-pe";