depot/third_party/nixpkgs/pkgs/tools/networking/dnstwist/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

41 lines
874 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnstwist";
version = "20230918";
format = "setuptools";
src = fetchFromGitHub {
owner = "elceef";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-LGeDb0++9Zsal9HOXjfjF18RFQS+6i578EfD3YTtlS4=";
};
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 ];
};
}