Merge pull request #193532 from fabaff/asnmap

asnmap: init at 0.0.1
This commit is contained in:
Fabian Affolter 2022-09-30 11:25:44 +02:00 committed by GitHub
commit 8226c4596d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "asnmap";
version = "0.0.1";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
hash = "sha256-NdD1b/yHB1fizAl/5UsksQ5jrj1OW46Ff4eABPPam7w=";
};
vendorHash = "sha256-/L3fGDa3aJit9forggszIjpekowh4LbNhxiJjHhzARs=";
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Tool to gather network ranges using ASN information";
homepage = "https://github.com/projectdiscovery/asnmap";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -244,6 +244,8 @@ with pkgs;
asn = callPackage ../applications/networking/asn { };
asnmap = callPackage ../tools/security/asnmap { };
astrolog = callPackage ../applications/science/astronomy/astrolog { };
atkinson-hyperlegible = callPackage ../data/fonts/atkinson-hyperlegible { };