a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
41 lines
874 B
Nix
41 lines
874 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "dnstwist";
|
|
version = "20221213";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elceef";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-xYZGrlrEdot2l1SkXcT2IbeRWouaN6C+WwbBSHXhAtw=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/elceef/dnstwist/releases/tag/${version}";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|