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
|
{ lib, fetchFromGitHub, buildPythonPackage, pillow, six
|
||||||
, tesseract, cuneiform
|
, tesseract, cuneiform, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyocr";
|
pname = "pyocr";
|
||||||
version = "0.4.7";
|
version = "0.4.7";
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
# Don't fetch from PYPI because it doesn't contain tests.
|
# Don't fetch from PYPI because it doesn't contain tests.
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user