From aa1cbfe0da82295d77cd2610b92c0edb4607c4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 2 Jan 2021 11:06:26 +0100 Subject: [PATCH] pythonPackages.impackt: Fix dependencies --- pkgs/development/python-modules/impacket/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/impacket/default.nix b/pkgs/development/python-modules/impacket/default.nix index dee40a6dbba2..15d148f168f1 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 ]; }; }