about summary refs log tree commit diff
path: root/pkgs/tools/security/fierce
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-12-13 16:53:28 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-12-13 16:53:28 +0100
commit320d724db35e84fb56946f737a6e3236c58afc8e (patch)
treefaf580c055b26800f4ef3fe2933a4d8a565dd13f /pkgs/tools/security/fierce
parenta53d2afe681ef4c107deddf5896eb2e7460641d5 (diff)
fierce: 1.4.0 -> 1.5.0
Diffstat (limited to 'pkgs/tools/security/fierce')
-rw-r--r--pkgs/tools/security/fierce/default.nix27
1 files changed, 18 insertions, 9 deletions
diff --git a/pkgs/tools/security/fierce/default.nix b/pkgs/tools/security/fierce/default.nix
index 95be0dcaedde1..9b8d8735b0798 100644
--- a/pkgs/tools/security/fierce/default.nix
+++ b/pkgs/tools/security/fierce/default.nix
@@ -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=";
   };
 
+  propagatedBuildInputs = with python3.pkgs; [
+    dnspython
+  ];
+
   postPatch = ''
-    substituteInPlace requirements.txt --replace 'dnspython==1.16.0' 'dnspython'
+    substituteInPlace requirements.txt \
+      --replace 'dnspython==1.16.0' 'dnspython'
   '';
 
-  propagatedBuildInputs = [ python3.pkgs.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;
   };
 }