pe-parse: 2.1.1 -> 2.1.1-unstable-2026-01-08

Co-authored-by: Michael Daniels <mdaniels5757@gmail.com>
This commit is contained in:
Xiangyan Sun
2026-05-17 15:24:47 -04:00
committed by Michael Daniels
co-authored by Michael Daniels
parent ac3bc672c5
commit 000f8fd419
+7 -10
View File
@@ -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";