Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "nmap-formatter"; 8 version = "2.1.0"; 9 10 src = fetchFromGitHub { 11 owner = "vdjagilev"; 12 repo = pname; 13 rev = "v${version}"; 14 hash = "sha256-9DbX1pHI/G6aejVN6AgULOxnpawnJHTiYMiTq+crMJI="; 15 }; 16 17 vendorHash = "sha256-OwyLY8y+HGxCteRqGEYvnVa6r27TwT9s9HyWKtvIxxI="; 18 19 meta = with lib; { 20 description = "Tool that allows you to convert nmap output"; 21 homepage = "https://github.com/vdjagilev/nmap-formatter"; 22 changelog = "https://github.com/vdjagilev/nmap-formatter/releases/tag/v${version}"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ fab ]; 25 }; 26}