27 lines
667 B
Nix
27 lines
667 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nmap-formatter";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vdjagilev";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-9DbX1pHI/G6aejVN6AgULOxnpawnJHTiYMiTq+crMJI=";
|
|
};
|
|
|
|
vendorHash = "sha256-OwyLY8y+HGxCteRqGEYvnVa6r27TwT9s9HyWKtvIxxI=";
|
|
|
|
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 ];
|
|
};
|
|
}
|