nixpkgs/pkgs/tools/networking/dnstwist/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
874 B
Nix
Raw Normal View History

2021-04-21 08:44:06 +00:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnstwist";
version = "20230509";
2022-12-14 14:19:53 +00:00
format = "setuptools";
2021-04-21 08:44:06 +00:00
src = fetchFromGitHub {
owner = "elceef";
repo = pname;
2022-10-09 03:15:00 +00:00
rev = "refs/tags/${version}";
hash = "sha256-dJ/LI5mQJAYsqlOk2vP6h8Iz6ZdqTi9i4fgtjVaBkuE=";
2021-04-21 08:44:06 +00:00
};
propagatedBuildInputs = with python3.pkgs; [
dnspython
geoip
2021-04-21 08:44:06 +00:00
ppdeep
requests
tld
whois
];
# Project has no tests
doCheck = false;
2021-12-07 16:17:21 +00:00
pythonImportsCheck = [
"dnstwist"
];
2021-04-21 08:44:06 +00:00
meta = with lib; {
description = "Domain name permutation engine for detecting homograph phishing attacks";
homepage = "https://github.com/elceef/dnstwist";
2022-12-14 14:19:53 +00:00
changelog = "https://github.com/elceef/dnstwist/releases/tag/${version}";
2021-04-21 08:44:06 +00:00
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}