From a888795ce7d50d9ca3e0a24a7ff7627b915aa8f6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 29 Jun 2021 23:24:54 +0200 Subject: [PATCH] knockpy: 5.0.0 -> 5.1.0 --- pkgs/tools/security/knockpy/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/security/knockpy/default.nix b/pkgs/tools/security/knockpy/default.nix index 89eda45322c7..8189145846b3 100644 --- a/pkgs/tools/security/knockpy/default.nix +++ b/pkgs/tools/security/knockpy/default.nix @@ -5,30 +5,28 @@ python3.pkgs.buildPythonApplication rec { pname = "knockpy"; - version = "5.0.0"; + version = "5.1.0"; disabled = python3.pythonOlder "3.6"; src = fetchFromGitHub { owner = "guelfoweb"; repo = "knock"; rev = version; - sha256 = "1h7sibdxx8y53xm1wydyng418n4j6baiys257msq03cs04jlm7h9"; + sha256 = "sha256-4W6/omGPmQFuZ/2AVNgCs2q0ti/P8OY4o7b4/g9q+Rc="; }; propagatedBuildInputs = with python3.pkgs; [ beautifulsoup4 colorama + matplotlib + networkx + pyqt5 requests ]; - postPatch = '' - # https://github.com/guelfoweb/knock/pull/95 - substituteInPlace setup.py \ - --replace "bs4" "beautifulsoup4" - ''; - # Project has no tests doCheck = false; + pythonImportsCheck = [ "knockpy" ]; meta = with lib; {