2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
2021-12-19 01:06:50 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "fierce";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.6.0";
|
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mschwager";
|
2024-09-19 14:19:46 +00:00
|
|
|
repo = "fierce";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
sha256 = "sha256-y5ZSDJCTqslU78kXGyk6DajBpX7xz1CVmbhYerHmyis=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
pythonRelaxDeps = [ "dnspython" ];
|
2021-12-19 01:06:50 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = with python3.pkgs; [ poetry-core ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
dependencies = with python3.pkgs; [ dnspython ];
|
|
|
|
|
|
|
|
# Tests require network access
|
2020-09-25 04:45:31 +00:00
|
|
|
doCheck = false;
|
2021-12-19 01:06:50 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
pythonImportsCheck = [ "fierce" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "DNS reconnaissance tool for locating non-contiguous IP space";
|
2021-12-19 01:06:50 +00:00
|
|
|
homepage = "https://github.com/mschwager/fierce";
|
2024-09-19 14:19:46 +00:00
|
|
|
changelog = "https://github.com/mschwager/fierce/blob/${version}/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ c0bw3b ];
|
2024-09-19 14:19:46 +00:00
|
|
|
mainProgram = "fierce";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|