nixpkgs/pkgs/tools/security/sdlookup/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
672 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "sdlookup";
version = "unstable-2022-03-10";
src = fetchFromGitHub {
owner = "j3ssie";
repo = pname;
rev = "8554bfa27284c4764401dbd8da23800d4ae968a2";
hash = "sha256-c6xAgOxle51waiFsSWvwO9eyt1KXuM0dEeepVsRQHkk=";
};
vendorHash = "sha256-j0UzucZ6kDwM+6U0ZyIW9u8XG/Bn+VUCO2vV1BbnQo0=";
meta = with lib; {
description = "IP lookups for open ports and vulnerabilities from internetdb.shodan.io";
mainProgram = "sdlookup";
homepage = "https://github.com/j3ssie/sdlookup";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}