pythonPackages.pyocr: disable on python2
doesn't build
This commit is contained in:
parent
ac7d466107
commit
0925b16a20
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user