nixpkgs/pkgs/tools/security/nmap-formatter/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
667 B
Nix
Raw Normal View History

2021-09-03 19:35:28 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nmap-formatter";
2023-12-17 06:40:19 +00:00
version = "2.1.6";
2021-09-03 19:35:28 +00:00
src = fetchFromGitHub {
owner = "vdjagilev";
repo = pname;
rev = "v${version}";
2023-12-17 06:40:19 +00:00
hash = "sha256-40ix4D/f63Q5cqVmBvpSmbK2KNXiYLdv/xXBNPJXfac=";
2021-09-03 19:35:28 +00:00
};
2023-12-17 06:40:19 +00:00
vendorHash = "sha256-OUhvQwC7EJF7CIM7NHCs0TqRTZHTiDupkfYREPaxpXo=";
2021-09-03 19:35:28 +00:00
meta = with lib; {
description = "Tool that allows you to convert nmap output";
homepage = "https://github.com/vdjagilev/nmap-formatter";
2022-11-22 20:45:15 +00:00
changelog = "https://github.com/vdjagilev/nmap-formatter/releases/tag/v${version}";
2021-09-03 19:35:28 +00:00
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}