depot/pkgs/tools/security/urlhunter/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
780 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "urlhunter";
version = "0.1.2";
src = fetchFromGitHub {
owner = "utkusen";
repo = pname;
rev = "v${version}";
sha256 = "sha256-lX5zh+fYVSyWPUOnfRNMGZPsiuxjKBSpluPUMN9mZ+k=";
};
vendorHash = "sha256-JDDxarFROBhdi76mY6udn++lReKLdju/JBpj3JhGdQA=";
meta = with lib; {
description = "Recon tool that allows searching shortened URLs";
mainProgram = "urlhunter";
longDescription = ''
urlhunter is a recon tool that allows searching on URLs that are
exposed via shortener services such as bit.ly and goo.gl.
'';
homepage = "https://github.com/utkusen/urlhunter";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}