knockpy: 5.0.0 -> 5.1.0

This commit is contained in:
Fabian Affolter 2021-06-29 23:24:54 +02:00
parent 4d420f27eb
commit a888795ce7

View file

@ -5,30 +5,28 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "knockpy"; pname = "knockpy";
version = "5.0.0"; version = "5.1.0";
disabled = python3.pythonOlder "3.6"; disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "guelfoweb"; owner = "guelfoweb";
repo = "knock"; repo = "knock";
rev = version; rev = version;
sha256 = "1h7sibdxx8y53xm1wydyng418n4j6baiys257msq03cs04jlm7h9"; sha256 = "sha256-4W6/omGPmQFuZ/2AVNgCs2q0ti/P8OY4o7b4/g9q+Rc=";
}; };
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4 beautifulsoup4
colorama colorama
matplotlib
networkx
pyqt5
requests requests
]; ];
postPatch = ''
# https://github.com/guelfoweb/knock/pull/95
substituteInPlace setup.py \
--replace "bs4" "beautifulsoup4"
'';
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "knockpy" ]; pythonImportsCheck = [ "knockpy" ];
meta = with lib; { meta = with lib; {