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

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

46 lines
938 B
Nix
Raw Normal View History

2021-04-21 09:44:06 +01:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnstwist";
version = "20240116";
2024-01-18 07:44:30 +00:00
pyproject = true;
2021-04-21 09:44:06 +01:00
src = fetchFromGitHub {
owner = "elceef";
2024-01-18 07:44:30 +00:00
repo = "dnstwist";
2022-10-09 04:15:00 +01:00
rev = "refs/tags/${version}";
hash = "sha256-areFRDi728SedArhUy/rbPzhoFabNoT/WdyyN+6OQK0=";
2021-04-21 09:44:06 +01:00
};
2024-01-18 07:44:30 +00:00
nativeBuildInputs = with python3.pkgs; [
setuptools
];
2021-04-21 09:44:06 +01:00
propagatedBuildInputs = with python3.pkgs; [
dnspython
geoip
2021-04-21 09:44:06 +01:00
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";
2022-12-14 14:19:53 +00:00
changelog = "https://github.com/elceef/dnstwist/releases/tag/${version}";
2021-04-21 09:44:06 +01:00
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}