summary refs log tree commit diff
path: root/pkgs/development/python-modules/impacket
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-02 11:06:26 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-02 11:06:26 +0100
commitaa1cbfe0da82295d77cd2610b92c0edb4607c4a8 (patch)
tree23be8215d9e855382f3ff0a69655f5a9e248f291 /pkgs/development/python-modules/impacket
parent9b2ddc9ad0b528513b4fa17ee4695a9055e0a15c (diff)
downloadnixpkgs-aa1cbfe0da82295d77cd2610b92c0edb4607c4a8.tar
nixpkgs-aa1cbfe0da82295d77cd2610b92c0edb4607c4a8.tar.gz
nixpkgs-aa1cbfe0da82295d77cd2610b92c0edb4607c4a8.tar.bz2
nixpkgs-aa1cbfe0da82295d77cd2610b92c0edb4607c4a8.tar.lz
nixpkgs-aa1cbfe0da82295d77cd2610b92c0edb4607c4a8.tar.xz
nixpkgs-aa1cbfe0da82295d77cd2610b92c0edb4607c4a8.tar.zst
nixpkgs-aa1cbfe0da82295d77cd2610b92c0edb4607c4a8.zip
pythonPackages.impackt: Fix dependencies
Diffstat (limited to 'pkgs/development/python-modules/impacket')
-rw-r--r--pkgs/development/python-modules/impacket/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/impacket/default.nix b/pkgs/development/python-modules/impacket/default.nix
index dee40a6dbba..15d148f168f 100644
--- a/pkgs/development/python-modules/impacket/default.nix
+++ b/pkgs/development/python-modules/impacket/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildPythonPackage, fetchPypi, isPy3k }:
+{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl }:
 
 buildPythonPackage rec {
   pname = "impacket";
@@ -9,16 +9,18 @@ buildPythonPackage rec {
     sha256 = "4bf7e7b595356585599b4b2773b8a463d7b9765c97012dcd5a44eb6d547f6a1d";
   };
 
-  disabled = isPy3k;
+  propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl ];
 
-  # no tests
+  # fail with:
+  # RecursionError: maximum recursion depth exceeded
   doCheck = false;
+  pythonImportsCheck = [ "impacket" ];
 
   meta = with lib; {
     description = "Network protocols Constructors and Dissectors";
     homepage = "https://github.com/CoreSecurity/impacket";
     # Modified Apache Software License, Version 1.1
     license = licenses.free;
-    maintainers = with maintainers; [ peterhoeg ];
+    maintainers = with maintainers; [ SuperSandro2000 ];
   };
 }