depot/third_party/nixpkgs/pkgs/tools/misc/mapcidr/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

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 ];
};
}