diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-10 23:45:01 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-10 23:45:01 +0200 |
commit | 683097028d530c784a7bffc883e682de1a7de3e3 (patch) | |
tree | 17a57043034c11a51d36a6b3b1da761a721962bd /pkgs/tools/security/evtx | |
parent | f97ef463442c6128432776035fbf65f08139bfc3 (diff) |
evtx: init at 0.7.2
Diffstat (limited to 'pkgs/tools/security/evtx')
-rw-r--r-- | pkgs/tools/security/evtx/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/security/evtx/default.nix b/pkgs/tools/security/evtx/default.nix new file mode 100644 index 0000000000000..51f706598fad3 --- /dev/null +++ b/pkgs/tools/security/evtx/default.nix @@ -0,0 +1,31 @@ +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "evtx"; + version = "0.7.2"; + + src = fetchFromGitHub { + owner = "omerbenamram"; + repo = pname; + rev = "v${version}"; + hash = "sha256-T165PZhjuX5tUENZoO6x1u2MpMQTfv9dGRmxyNY2ACg="; + }; + + cargoSha256 = "sha256-qcjJoXB0DV1Z5bhGrtyJzfWqE+tVWBOYMJEd+MWFcD8="; + + 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"; + license = with licenses; [ asl20 /* or */ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |