a8b1b57b85
GitOrigin-RevId: fc4148a47fa927319186061aa42633c8aa5777f1
39 lines
759 B
Nix
39 lines
759 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "dnstwist";
|
|
version = "20220120";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elceef";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0vrrc0dzivq8sk7ns471r4ws3204d75riq0jzzrnxqvwz2k96wh8";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
dnspython
|
|
GeoIP
|
|
ppdeep
|
|
requests
|
|
tld
|
|
whois
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"dnstwist"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Domain name permutation engine for detecting homograph phishing attacks";
|
|
homepage = "https://github.com/elceef/dnstwist";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|