nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 992 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "mapcidr"; 9 version = "1.1.97"; 10 11 src = fetchFromGitHub { 12 owner = "projectdiscovery"; 13 repo = "mapcidr"; 14 tag = "v${version}"; 15 hash = "sha256-a+yVSh+Cgq73mQHaumVgNqEg/gXa2r2qld4bTi3Du/Y="; 16 }; 17 18 vendorHash = "sha256-4gzxKmnl8MOPcdzkwhReZ/cfbjfICY9kxousveoHYR0="; 19 20 modRoot = "."; 21 subPackages = [ 22 "cmd/mapcidr" 23 ]; 24 25 meta = { 26 description = "Small utility program to perform multiple operations for a given subnet/CIDR ranges"; 27 longDescription = '' 28 mapCIDR is developed to ease load distribution for mass scanning 29 operations, it can be used both as a library and as independent CLI tool. 30 ''; 31 homepage = "https://github.com/projectdiscovery/mapcidr"; 32 changelog = "https://github.com/projectdiscovery/mapcidr/releases/tag/v${version}"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ hanemile ]; 35 mainProgram = "mapcidr"; 36 }; 37}