pythonPackages.reportlab: fix test runner

This commit is contained in:
Frederik Rietdijk 2016-01-24 13:29:32 +01:00
parent 63804899ec
commit 9558ab1ba9

View File

@ -17295,7 +17295,17 @@ in modules // {
sha256 = "14v212cq2w3p0j5xydfr8rav8c8qas1q845r0xj7fm6q5dk8grkj";
};
buildInputs = with self; [ freetype pillow pip ];
LC_ALL = "en_US.UTF-8";
buildInputs = with self; [ freetype pillow pip pkgs.glibcLocales ];
patchPhase = ''
rm tests/test_graphics_barcode.py
rm tests/test_graphics_render.py
'';
checkPhase = ''
${python.interpreter} tests/runAll.py
'';
meta = {
description = "An Open Source Python library for generating PDFs and graphics";