git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.pyocr: disable on python2

doesn't build

commit0925b16a20380fc3561e29e858a9a6035b68ba46 authorxeji <xeji@cat3.de> dateWed 11 Apr 2018, 13:31 (9 years ago) parentac7d466
1 file changed+2−1
pkgs/development/python-modules/pyocr/default.nix+2−1
pkgs/development/python-modules/pyocr/default.nix+2−1
@@ -1,11 +1,12 @@
11{ lib, fetchFromGitHub, buildPythonPackage, pillow, six
2−, tesseract, cuneiform
2+, tesseract, cuneiform, isPy3k
33}:
44
55buildPythonPackage rec {
66 pname = "pyocr";
77 version = "0.4.7";
88 name = pname + "-" + version;
9+ disabled = !isPy3k;
910
1011 # Don't fetch from PYPI because it doesn't contain tests.
1112 src = fetchFromGitHub {