mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
40 lines
773 B
Nix
40 lines
773 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "dnstwist";
|
|
version = "20221022";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elceef";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-qdKMEE97PWkWgstJZxnFWDjc2heIbJjjCwBbl5K2zy4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|