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.

26 lines
581 B
Nix
Raw Normal View History

2021-09-03 19:35:28 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nmap-formatter";
2022-07-29 13:42:27 +00:00
version = "2.0.1";
2021-09-03 19:35:28 +00:00
src = fetchFromGitHub {
owner = "vdjagilev";
repo = pname;
rev = "v${version}";
2022-07-29 13:42:27 +00:00
hash = "sha256-Jhjvtk8SDs//eBW+2+yLcIXf/NetfBUrKvzKCj+VyMg=";
2021-09-03 19:35:28 +00:00
};
2022-07-29 13:42:27 +00:00
vendorSha256 = "sha256-u36eHSb6YlGJNkgmRDclxTsdkONLKn8J/GKaoCgy+Qk=";
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";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}