pythonPackages.pyocr: disable on python2

doesn't build
This commit is contained in:
xeji 2018-04-11 13:31:32 +02:00
parent ac7d466107
commit 0925b16a20

View File

@ -1,11 +1,12 @@
{ lib, fetchFromGitHub, buildPythonPackage, pillow, six
, tesseract, cuneiform
, tesseract, cuneiform, isPy3k
}:
buildPythonPackage rec {
pname = "pyocr";
version = "0.4.7";
name = pname + "-" + version;
disabled = !isPy3k;
# Don't fetch from PYPI because it doesn't contain tests.
src = fetchFromGitHub {