blob: 3d6472cbb44f8bb0da2ac7b5fbb5addc2ac263b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ lib, stdenv, fetchFromGitHub, python3 }:
python3.pkgs.buildPythonApplication rec {
pname = "fierce";
version = "1.4.0";
src = fetchFromGitHub {
owner = "mschwager";
repo = pname;
rev = version;
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 lib; {
homepage = "https://github.com/mschwager/fierce";
description = "DNS reconnaissance tool for locating non-contiguous IP space";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ c0bw3b ];
platforms = platforms.all;
};
}
|