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 13:20:32 +03:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "lmp";
2021-12-27 23:39:06 +03:00
version = "2.0";
2021-12-15 13:20:32 +03:00
src = fetchFromGitHub {
owner = "0xInfection";
repo = "LogMePwn";
rev = "v${version}";
2021-12-27 23:39:06 +03:00
sha256 = "sha256-VL/Hp7YaXNcV9JPb3kgRHcdhJJ5p3KHUf3hHbT3gKVk=";
2021-12-15 13:20:32 +03:00
};
vendorHash = "sha256-3NTaJ/Y3Tc6UGLfYTKjZxAAI43GJyZQ5wQVYbnXHSYc=";
2021-12-15 13:20:32 +03: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 05:51:17 +03:00
mainProgram = "lmp";
2021-12-15 13:20:32 +03:00
};
}