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

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

27 lines
627 B
Nix
Raw Normal View History

2021-12-15 10:20:32 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "lmp";
2021-12-27 20:39:06 +00:00
version = "2.0";
2021-12-15 10:20:32 +00:00
src = fetchFromGitHub {
owner = "0xInfection";
repo = "LogMePwn";
rev = "v${version}";
2021-12-27 20:39:06 +00:00
sha256 = "sha256-VL/Hp7YaXNcV9JPb3kgRHcdhJJ5p3KHUf3hHbT3gKVk=";
2021-12-15 10:20:32 +00:00
};
vendorHash = "sha256-3NTaJ/Y3Tc6UGLfYTKjZxAAI43GJyZQ5wQVYbnXHSYc=";
2021-12-15 10:20:32 +00:00
meta = with lib; {
description = "Scanning and validation toolkit for the Log4J vulnerability";
homepage = "https://github.com/0xInfection/LogMePwn";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
2023-11-23 02:51:17 +00:00
mainProgram = "lmp";
2021-12-15 10:20:32 +00:00
};
}