2021-10-11 16:52:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mapcidr";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.1.14";
|
2021-10-11 16:52:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = pname;
|
2023-03-27 19:17:25 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-Vhh/OS61dfArsowXMogr/bu/gg354nte9PuobD9lCaU=";
|
2021-10-11 16:52:03 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
vendorHash = "sha256-wqbAOoRQEE7CDmaH5MRzsSKOdyrxwBY/1wDz3MCfsBc=";
|
2021-10-11 16:52:03 +00:00
|
|
|
|
|
|
|
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";
|
2023-03-27 19:17:25 +00:00
|
|
|
changelog = "https://github.com/projectdiscovery/mapcidr/releases/tag/v${version}";
|
2021-10-11 16:52:03 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hanemile ];
|
|
|
|
};
|
|
|
|
}
|