2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, python3 }:
|
2019-05-19 16:45:17 +00:00
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "fierce";
|
2019-11-11 13:14:24 +00:00
|
|
|
version = "1.4.0";
|
2019-05-19 16:45:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mschwager";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-11-11 13:14:24 +00:00
|
|
|
sha256 = "11yaz8ap9swx95j3wpqh0b6jhw6spqgfnsyn1liw9zqi4jwgiax7";
|
2019-05-19 16:45:17 +00:00
|
|
|
};
|
|
|
|
|
2020-09-18 21:34:52 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace requirements.txt --replace 'dnspython==1.16.0' 'dnspython'
|
|
|
|
'';
|
|
|
|
|
2019-05-19 16:45:17 +00:00
|
|
|
propagatedBuildInputs = [ python3.pkgs.dns ];
|
|
|
|
|
2020-09-18 21:34:52 +00:00
|
|
|
# tests require network access
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "fierce" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-19 16:45:17 +00:00
|
|
|
homepage = "https://github.com/mschwager/fierce";
|
|
|
|
description = "DNS reconnaissance tool for locating non-contiguous IP space";
|
|
|
|
license = licenses.gpl3Plus;
|
2019-08-20 17:36:05 +00:00
|
|
|
maintainers = with maintainers; [ c0bw3b ];
|
2019-05-19 16:45:17 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|