2021-04-22 02:08:21 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "dnstwist";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "20230918";
|
2022-12-17 10:02:37 +00:00
|
|
|
format = "setuptools";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elceef";
|
|
|
|
repo = pname;
|
2022-10-21 18:38:19 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-LGeDb0++9Zsal9HOXjfjF18RFQS+6i578EfD3YTtlS4=";
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
dnspython
|
2023-03-15 16:39:30 +00:00
|
|
|
geoip
|
2021-04-22 02:08:21 +00:00
|
|
|
ppdeep
|
|
|
|
requests
|
|
|
|
tld
|
|
|
|
whois
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"dnstwist"
|
|
|
|
];
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Domain name permutation engine for detecting homograph phishing attacks";
|
|
|
|
homepage = "https://github.com/elceef/dnstwist";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/elceef/dnstwist/releases/tag/${version}";
|
2021-04-22 02:08:21 +00:00
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|