python3Packages.malduck: fix build
commitd4d246cbced5773e962ba9d4d4f3a4e87141ccc8
authorFabian Affolter <mail@fabian-affolter.ch>
dateWed 30 Jun 2021, 19:04 (5 years ago)
parent39db184
pkgs/development/python-modules/malduck/default.nix+6
@@ -35,8 +35,14 @@ buildPythonPackage rec {
3535 yara-python
3636 ];
3737
38+ postPatch = ''
39+ substituteInPlace requirements.txt \
40+ --replace "pefile==2019.4.18" "pefile"
41+ '';
42+
3843 # Project has no tests. They will come with the next release
3944 doCheck = false;
45+
4046 pythonImportsCheck = [ "malduck" ];
4147
4248 meta = with lib; {