nixpkgs/pkgs/tools/security/evtx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
858 B
Nix
Raw Normal View History

2024-04-05 07:04:07 +00:00
{
lib,
fetchFromGitHub,
rustPlatform,
2022-05-10 21:45:01 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "evtx";
2024-08-04 01:16:48 +00:00
version = "0.8.3";
2022-05-10 21:45:01 +00:00
src = fetchFromGitHub {
owner = "omerbenamram";
2024-04-05 07:04:07 +00:00
repo = "evtx";
2023-02-22 23:45:43 +00:00
rev = "refs/tags/v${version}";
2024-08-04 01:16:48 +00:00
hash = "sha256-q2IpWWL/wmjVKSwupAa43zpXF+8/a1Cm/lKOmpwcsLA=";
2022-05-10 21:45:01 +00:00
};
2024-08-04 01:16:48 +00:00
cargoHash = "sha256-O6XnBvLLoTvYA3G5Ws/aaYWJvEmDT7nnz+mc4QVkftg=";
2022-05-10 21:45:01 +00:00
postPatch = ''
# CLI tests will fail in the sandbox
rm tests/test_cli_interactive.rs
'';
meta = with lib; {
description = "Parser for the Windows XML Event Log (EVTX) format";
homepage = "https://github.com/omerbenamram/evtx";
2023-02-22 23:45:43 +00:00
changelog = "https://github.com/omerbenamram/evtx/blob/v${version}/CHANGELOG.md";
2024-04-05 07:04:07 +00:00
license = with licenses; [
asl20 # or
mit
];
2022-05-10 21:45:01 +00:00
maintainers = with maintainers; [ fab ];
2024-04-05 07:04:07 +00:00
mainProgram = "evtx_dump";
2022-05-10 21:45:01 +00:00
};
}