5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
35 lines
966 B
Nix
35 lines
966 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mapcidr";
|
|
version = "1.1.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-4VBIcdlK3tHUNQT8FRJuzlUcgM17SSFWYi4zys7zgZU=";
|
|
};
|
|
|
|
vendorHash = "sha256-HBX8Npd4jy5YXx70GV8h3woM6ArcgMWqu8dybj/wdRU=";
|
|
|
|
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";
|
|
changelog = "https://github.com/projectdiscovery/mapcidr/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hanemile ];
|
|
};
|
|
}
|