mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
803bb08b6c
Diff: https://github.com/projectdiscovery/mapcidr/compare/refs/tags/v1.1.13...v1.1.14 Changelog: https://github.com/projectdiscovery/mapcidr/releases/tag/v1.1.14
36 lines
966 B
Nix
36 lines
966 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mapcidr";
|
|
version = "1.1.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Vhh/OS61dfArsowXMogr/bu/gg354nte9PuobD9lCaU=";
|
|
};
|
|
|
|
vendorHash = "sha256-wqbAOoRQEE7CDmaH5MRzsSKOdyrxwBY/1wDz3MCfsBc=";
|
|
|
|
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 ];
|
|
};
|
|
}
|