nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "sdlookup";
9 version = "0-unstable-2022-03-10";
10
11 src = fetchFromGitHub {
12 owner = "j3ssie";
13 repo = "sdlookup";
14 rev = "8554bfa27284c4764401dbd8da23800d4ae968a2";
15 hash = "sha256-c6xAgOxle51waiFsSWvwO9eyt1KXuM0dEeepVsRQHkk=";
16 };
17
18 vendorHash = "sha256-j0UzucZ6kDwM+6U0ZyIW9u8XG/Bn+VUCO2vV1BbnQo0=";
19
20 meta = with lib; {
21 description = "IP lookups for open ports and vulnerabilities from internetdb.shodan.io";
22 mainProgram = "sdlookup";
23 homepage = "https://github.com/j3ssie/sdlookup";
24 license = with licenses; [ mit ];
25 maintainers = with maintainers; [ fab ];
26 };
27}