diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-21 10:44:06 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-21 10:44:06 +0200 |
commit | 3121998f6b83fb55607b3609d4602de55ee05322 (patch) | |
tree | c854878d18ad842b1744e2fd4e975c5f68e2079b /pkgs/tools/networking/dnstwist | |
parent | 7e1aee2aa447639c3806264743512203f6613c36 (diff) | |
download | nixpkgs-3121998f6b83fb55607b3609d4602de55ee05322.tar nixpkgs-3121998f6b83fb55607b3609d4602de55ee05322.tar.gz nixpkgs-3121998f6b83fb55607b3609d4602de55ee05322.tar.bz2 nixpkgs-3121998f6b83fb55607b3609d4602de55ee05322.tar.lz nixpkgs-3121998f6b83fb55607b3609d4602de55ee05322.tar.xz nixpkgs-3121998f6b83fb55607b3609d4602de55ee05322.tar.zst nixpkgs-3121998f6b83fb55607b3609d4602de55ee05322.zip |
dnstwist: init at 20201228
Diffstat (limited to 'pkgs/tools/networking/dnstwist')
-rw-r--r-- | pkgs/tools/networking/dnstwist/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dnstwist/default.nix b/pkgs/tools/networking/dnstwist/default.nix new file mode 100644 index 00000000000..e19b4dabd78 --- /dev/null +++ b/pkgs/tools/networking/dnstwist/default.nix @@ -0,0 +1,37 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "dnstwist"; + version = "20201228"; + disabled = python3.pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "elceef"; + repo = pname; + rev = version; + sha256 = "0bxshi1p0va2f449v6vsm8bav5caa3r3pyknj3zf4n5rvk6say70"; + }; + + 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 ]; + }; +} |