depot/third_party/nixpkgs/pkgs/tools/security/fierce/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

38 lines
919 B
Nix

{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "fierce";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mschwager";
repo = "fierce";
rev = "refs/tags/${version}";
sha256 = "sha256-y5ZSDJCTqslU78kXGyk6DajBpX7xz1CVmbhYerHmyis=";
};
pythonRelaxDeps = [ "dnspython" ];
build-system = with python3.pkgs; [ poetry-core ];
dependencies = with python3.pkgs; [ dnspython ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "fierce" ];
meta = with lib; {
description = "DNS reconnaissance tool for locating non-contiguous IP space";
homepage = "https://github.com/mschwager/fierce";
changelog = "https://github.com/mschwager/fierce/blob/${version}/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ c0bw3b ];
mainProgram = "fierce";
};
}