nixpkgs/pkgs/tools/security/nmap-formatter/default.nix
2022-12-04 11:23:34 +00:00

27 lines
669 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nmap-formatter";
version = "2.0.4";
src = fetchFromGitHub {
owner = "vdjagilev";
repo = pname;
rev = "v${version}";
hash = "sha256-UIGXstgQMBMept9W+HhyE30WYWleaU9bUTX5frctrS8=";
};
vendorSha256 = "sha256-VX/JVqCKhjBq67D7juHdgpzBgSjOHn0Pbmx9s04tinw=";
meta = with lib; {
description = "Tool that allows you to convert nmap output";
homepage = "https://github.com/vdjagilev/nmap-formatter";
changelog = "https://github.com/vdjagilev/nmap-formatter/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}