mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
27 lines
703 B
Nix
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 ];
|
|
};
|
|
}
|