diff options
author | Robert Scott <code@humanleg.org.uk> | 2020-09-18 22:34:52 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-09-22 23:24:59 -0700 |
commit | 1aa888ba5322febcd8b01e2d4f44906ef2787d7b (patch) | |
tree | 49c6c8da8f4237146c989c2c614ed577a9ce0da6 /pkgs/tools/security | |
parent | af5b1a9f94bea1b5a2b5110651ef20b2ca698a65 (diff) |
fierce: fix build
because we're playing with its install requirements, add a
pythonImportsCheck to give us a chance to discover brokenness. technically
this isn't a realistic test of end user behaviour as this is really an
application, not a python module, but it seems to have a pretty stable
import name of `fierce`, so it works.
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/fierce/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/security/fierce/default.nix b/pkgs/tools/security/fierce/default.nix index 5d12a0008158..13146c3373e7 100644 --- a/pkgs/tools/security/fierce/default.nix +++ b/pkgs/tools/security/fierce/default.nix @@ -11,8 +11,16 @@ python3.pkgs.buildPythonApplication rec { sha256 = "11yaz8ap9swx95j3wpqh0b6jhw6spqgfnsyn1liw9zqi4jwgiax7"; }; + postPatch = '' + substituteInPlace requirements.txt --replace 'dnspython==1.16.0' 'dnspython' + ''; + propagatedBuildInputs = [ python3.pkgs.dns ]; + # tests require network access + doCheck = false; + pythonImportsCheck = [ "fierce" ]; + meta = with stdenv.lib; { homepage = "https://github.com/mschwager/fierce"; description = "DNS reconnaissance tool for locating non-contiguous IP space"; |