3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #120037 from fabaff/dnstwist

This commit is contained in:
Sandro 2021-04-22 03:55:14 +02:00 committed by GitHub
commit a738f23b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "ppdeep";
version = "20200505";
src = fetchPypi {
inherit pname version;
sha256 = "1zx1h0ff0wjjkgd0dzjv31i6ag09jw2p9vcssc1iplp60awlpixc";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "ppdeep" ];
meta = with lib; {
description = "Python library for computing fuzzy hashes (ssdeep)";
homepage = "https://github.com/elceef/ppdeep";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,37 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnstwist";
version = "20201228";
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "elceef";
repo = pname;
rev = version;
sha256 = "0bxshi1p0va2f449v6vsm8bav5caa3r3pyknj3zf4n5rvk6say70";
};
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 ];
};
}

View file

@ -30935,6 +30935,8 @@ in
inherit (darwin) libresolv;
};
dnstwist = callPackage ../tools/networking/dnstwist {};
dsniff = callPackage ../tools/networking/dsniff {};
wal-g = callPackage ../tools/backup/wal-g { };

View file

@ -5255,6 +5255,8 @@ in {
pkuseg = callPackage ../development/python-modules/pkuseg { };
ppdeep = callPackage ../development/python-modules/ppdeep { };
pynndescent = callPackage ../development/python-modules/pynndescent { };
pynuki = callPackage ../development/python-modules/pynuki { };