about summary refs log tree commit diff
path: root/pkgs/tools/security/theharvester
diff options
context:
space:
mode:
authorc0bw3b <c0bw3b@users.noreply.github.com>2019-05-19 18:50:11 +0200
committerc0bw3b <c0bw3b@users.noreply.github.com>2019-05-20 20:49:37 +0200
commit17815ba47ecaf3ad9c78708dc9b8a50d22f32fab (patch)
treec2c80cc34402369e6791f1257834b735df2b8c34 /pkgs/tools/security/theharvester
parent78d09f168a881f3c13da9a4c20dcd93296a4d335 (diff)
theharvester: 2.7.1 -> 3.0.6
Diffstat (limited to 'pkgs/tools/security/theharvester')
-rw-r--r--pkgs/tools/security/theharvester/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/tools/security/theharvester/default.nix b/pkgs/tools/security/theharvester/default.nix
index 0c0cf29f977fe..4a1e92e6104a8 100644
--- a/pkgs/tools/security/theharvester/default.nix
+++ b/pkgs/tools/security/theharvester/default.nix
@@ -1,21 +1,20 @@
-{ stdenv, makeWrapper, python2Packages, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub, makeWrapper, python3Packages }:
 
 stdenv.mkDerivation rec {
   pname = "theHarvester";
-  version = "2.7.1";
-  name = "${pname}-${version}";
+  version = "3.0.6";
 
   src = fetchFromGitHub {
     owner = "laramies";
-    repo = "${pname}";
-    rev = "25553762d2d93a39083593adb08a34d5f5142c60";
-    sha256 = "0gnm598y6paz0knwvdv1cx0w6ngdbbpzkdark3q5vs66yajv24w4";
+    repo = pname;
+    rev = version;
+    sha256 = "0f33a7sfb5ih21yp1wspb03fxsls1m14yizgrw0srfirm2a6aa0c";
   };
 
   nativeBuildInputs = [ makeWrapper ];
 
   # add dependencies
-  propagatedBuildInputs = [ python2Packages.requests ];
+  propagatedBuildInputs = with python3Packages; [ requests beautifulsoup4 plotly ];
 
   installPhase = ''
     # create dirs