3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/dnstwist/default.nix

40 lines
758 B
Nix
Raw Normal View History

2021-04-21 09:44:06 +01:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnstwist";
2021-12-07 16:17:21 +00:00
version = "20211204";
2021-04-21 09:44:06 +01:00
src = fetchFromGitHub {
owner = "elceef";
repo = pname;
rev = version;
2021-12-07 16:17:21 +00:00
sha256 = "sha256-D7qesxkJMx/N0oyaw3ev007SLCm4RKhZSNW22CNgKPw=";
2021-04-21 09:44:06 +01:00
};
propagatedBuildInputs = with python3.pkgs; [
dnspython
GeoIP
ppdeep
requests
tld
whois
];
# Project has no tests
doCheck = false;
2021-12-07 16:17:21 +00:00
pythonImportsCheck = [
"dnstwist"
];
2021-04-21 09:44:06 +01:00
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 ];
};
}