3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #150563 from fabaff/bump-fierce

fierce: 1.4.0 -> 1.5.0
This commit is contained in:
Renaud 2021-12-13 19:59:32 +01:00 committed by GitHub
commit 38cd86ef58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,31 +1,40 @@
{ lib, fetchFromGitHub, python3 }:
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "fierce";
version = "1.4.0";
version = "1.5.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mschwager";
repo = pname;
rev = version;
sha256 = "11yaz8ap9swx95j3wpqh0b6jhw6spqgfnsyn1liw9zqi4jwgiax7";
sha256 = "sha256-9VTPD5i203BTl2nADjq131W9elgnaHNIWGIUuCiYlHg=";
};
postPatch = ''
substituteInPlace requirements.txt --replace 'dnspython==1.16.0' 'dnspython'
'';
propagatedBuildInputs = with python3.pkgs; [
dnspython
];
propagatedBuildInputs = [ python3.pkgs.dnspython ];
postPatch = ''
substituteInPlace requirements.txt \
--replace 'dnspython==1.16.0' 'dnspython'
'';
# tests require network access
doCheck = false;
pythonImportsCheck = [ "fierce" ];
pythonImportsCheck = [
"fierce"
];
meta = with lib; {
homepage = "https://github.com/mschwager/fierce";
description = "DNS reconnaissance tool for locating non-contiguous IP space";
homepage = "https://github.com/mschwager/fierce";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ c0bw3b ];
platforms = platforms.all;
};
}