depot/third_party/nixpkgs/pkgs/tools/security/nmap-formatter/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

27 lines
703 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nmap-formatter";
version = "3.0.1";
src = fetchFromGitHub {
owner = "vdjagilev";
repo = pname;
rev = "v${version}";
hash = "sha256-2XbqpvtlNAYrgtaMnFklYRoHCj3nkltEZlwbZzvfdFU=";
};
vendorHash = "sha256-PKoe4rpwPy3omfRRhN70iEJJ/sHliIwxPUHGxRJqrf4=";
meta = with lib; {
description = "Tool that allows you to convert nmap output";
mainProgram = "nmap-formatter";
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 ];
};
}