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