c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
34 lines
871 B
Nix
34 lines
871 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mapcidr";
|
|
version = "1.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-dsHTnaK1Bna6Gbr/J+PYjeZ0WqJh696sliTd5JF1C+o=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-RblYkQSOMOKaI4ODkNae3rxJEaxkzwA2SuoMr+Z2/ew=";
|
|
|
|
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 ];
|
|
};
|
|
}
|