Skip to content

Commit

Permalink
pythonPackages.reportlab: fix test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Jan 24, 2016
1 parent 6380489 commit 9558ab1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 9558ab1

Please sign in to comment.