Merge pull request #120037 from fabaff/dnstwist
This commit is contained in:
commit
a738f23b20
25
pkgs/development/python-modules/ppdeep/default.nix
Normal file
25
pkgs/development/python-modules/ppdeep/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
37
pkgs/tools/networking/dnstwist/default.nix
Normal file
37
pkgs/tools/networking/dnstwist/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user