depot/third_party/nixpkgs/pkgs/tools/networking/dnstwist/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

41 lines
874 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnstwist";
version = "20230509";
format = "setuptools";
src = fetchFromGitHub {
owner = "elceef";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-dJ/LI5mQJAYsqlOk2vP6h8Iz6ZdqTi9i4fgtjVaBkuE=";
};
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 ];
};
}