mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
27 lines
672 B
Nix
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 ];
|
|
};
|
|
}
|