diff options
author | Emile <HanEmile@users.noreply.github.com> | 2021-10-10 18:30:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 18:30:20 +0200 |
commit | 47e66ec1d0ef9598d1572cf7a3056aa71db325fa (patch) | |
tree | 48c0057e2c280c8d1b0035ecf10cea2ff6a23fd8 /pkgs/tools/misc/mapcidr | |
parent | 575c56d1fec3e2ec93728b1dee111f747f8fdca8 (diff) |
mapcidr: init at 0.0.8 (#141102)
Diffstat (limited to 'pkgs/tools/misc/mapcidr')
-rw-r--r-- | pkgs/tools/misc/mapcidr/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/misc/mapcidr/default.nix b/pkgs/tools/misc/mapcidr/default.nix new file mode 100644 index 0000000000000..2c8a80b28d0c7 --- /dev/null +++ b/pkgs/tools/misc/mapcidr/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "mapcidr"; + version = "0.0.8"; + + src = fetchFromGitHub { + owner = "projectdiscovery"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-hlMIgSsSqvMx6Y7JnR7L9muTLWPfxDN5raJRezt99G0="; + }; + + vendorSha256 = "sha256-zp+XaSZgSMwJK+EEiTaJKBTPiKYaYpTtArnGBmHUGzE="; + + modRoot = "."; + subPackages = [ + "cmd/mapcidr" + ]; + + meta = with lib; { + description = "Small utility program to perform multiple operations for a given subnet/CIDR ranges"; + longDescription = '' + mapCIDR is developed to ease load distribution for mass scanning + operations, it can be used both as a library and as independent CLI tool. + ''; + homepage = "https://github.com/projectdiscovery/mapcidr"; + license = licenses.mit; + maintainers = with maintainers; [ hanemile ]; + }; +} |