python3Packages.malduck: fix build

This commit is contained in:
Fabian Affolter 2021-06-30 19:04:03 +02:00 committed by Jonathan Ringer
parent 39db1847c8
commit d4d246cbce

View File

@ -35,8 +35,14 @@ buildPythonPackage rec {
yara-python yara-python
]; ];
postPatch = ''
substituteInPlace requirements.txt \
--replace "pefile==2019.4.18" "pefile"
'';
# Project has no tests. They will come with the next release # Project has no tests. They will come with the next release
doCheck = false; doCheck = false;
pythonImportsCheck = [ "malduck" ]; pythonImportsCheck = [ "malduck" ];
meta = with lib; { meta = with lib; {