nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "nmap-formatter";
9 version = "3.1.0";
10
11 src = fetchFromGitHub {
12 owner = "vdjagilev";
13 repo = "nmap-formatter";
14 rev = "v${version}";
15 hash = "sha256-qai8HbVJJLFH5cNiG24fBjq5++6mvlhpT+4hlvx+gGI=";
16 };
17
18 vendorHash = "sha256-q94ET4oMYvF3eCJ358EznwL++vwdCeEAu5UquGChCc0=";
19
20 meta = {
21 description = "Tool that allows you to convert nmap output";
22 mainProgram = "nmap-formatter";
23 homepage = "https://github.com/vdjagilev/nmap-formatter";
24 changelog = "https://github.com/vdjagilev/nmap-formatter/releases/tag/v${version}";
25 license = lib.licenses.mit;
26 maintainers = with lib.maintainers; [ fab ];
27 };
28}