nixpkgs/pkgs/tools/networking/dnstwist/default.nix
2021-12-07 17:17:21 +01:00

39 lines
758 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnstwist";
version = "20211204";
src = fetchFromGitHub {
owner = "elceef";
repo = pname;
rev = version;
sha256 = "sha256-D7qesxkJMx/N0oyaw3ev007SLCm4RKhZSNW22CNgKPw=";
};
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 ];
};
}