mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 00:10:30 +00:00
python.pkgs.binaryornot: fix build
This commit is contained in:
parent
2e16d3d2c8
commit
736025e234
|
@ -10,9 +10,9 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
prePatch = ''
|
||||
# See https://github.com/audreyr/binaryornot/issues/40
|
||||
# TypeError: binary() got an unexpected keyword argument 'average_size'
|
||||
substituteInPlace tests/test_check.py \
|
||||
--replace "average_size=512" "average_size=128"
|
||||
--replace "average_size=512" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ chardet ];
|
||||
|
|
Loading…
Reference in a new issue