holehe: init at unstable-2023-05-18
This commit is contained in:
parent
edd0170251
commit
10c906dc6f
pkgs
46
pkgs/tools/security/holehe/default.nix
Normal file
46
pkgs/tools/security/holehe/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ lib
|
||||||
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "holehe";
|
||||||
|
version = "unstable-2023-05-18";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "megadose";
|
||||||
|
repo = "holehe";
|
||||||
|
rev = "bec2f582c286a4e32de4dfc1f241297f60bd8713";
|
||||||
|
hash = "sha256-dLfuQew6cqb32r9AMubuo51A7TeaIafEdZs0OrQF7Gg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/megadose/holehe/pull/178
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "bs4" "beautifulsoup4"
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
beautifulsoup4
|
||||||
|
colorama
|
||||||
|
httpx
|
||||||
|
termcolor
|
||||||
|
tqdm
|
||||||
|
trio
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project has no test
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"holehe"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "CLI to check if the mail is used on different sites";
|
||||||
|
homepage = "https://github.com/megadose/holehe";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -39514,6 +39514,8 @@ with pkgs;
|
|||||||
|
|
||||||
inherit (ocamlPackages) hol_light;
|
inherit (ocamlPackages) hol_light;
|
||||||
|
|
||||||
|
holehe = callPackage ../tools/security/holehe { };
|
||||||
|
|
||||||
hologram = callPackage ../tools/security/hologram { };
|
hologram = callPackage ../tools/security/hologram { };
|
||||||
|
|
||||||
honeytrap = callPackage ../tools/security/honeytrap { };
|
honeytrap = callPackage ../tools/security/honeytrap { };
|
||||||
|
Loading…
Reference in New Issue
Block a user