nixpkgs/pkgs/tools/security/urlhunter/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
749 B
Nix
Raw Normal View History

2021-01-06 16:37:10 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
2021-01-06 16:37:10 +00:00
}:
buildGoModule rec {
pname = "urlhunter";
2022-10-23 04:57:58 +00:00
version = "0.1.2";
2021-01-06 16:37:10 +00:00
src = fetchFromGitHub {
owner = "utkusen";
repo = pname;
rev = "v${version}";
2022-10-23 04:57:58 +00:00
sha256 = "sha256-lX5zh+fYVSyWPUOnfRNMGZPsiuxjKBSpluPUMN9mZ+k=";
2021-01-06 16:37:10 +00:00
};
vendorHash = "sha256-JDDxarFROBhdi76mY6udn++lReKLdju/JBpj3JhGdQA=";
2021-01-06 16:37:10 +00:00
meta = with lib; {
2021-01-06 16:37:10 +00:00
description = "Recon tool that allows searching shortened URLs";
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 ];
};
}