summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/ocrmypdf
diff options
context:
space:
mode:
authorIvan Kozik <ivan@ludios.org>2020-08-31 22:56:47 +0000
committerJon <jonringer@users.noreply.github.com>2020-08-31 16:59:24 -0700
commitd56da56bf886cd738c979a5b6d72487552d7f115 (patch)
treef87429d50c3e183ee88f9ffd5a8ce28d21594321 /pkgs/tools/text/ocrmypdf
parent78167a293b26ce6589a5b24392ddc06fe07dc8d9 (diff)
ocrmypdf: 10.3.0 -> 11.0.1
This fixes the build: ``` ERROR: Could not find a version that satisfies the requirement img2pdf<0.4,>=0.3.0 (from ocrmypdf==10.3.0) (from versions: none) ERROR: No matching distribution found for img2pdf<0.4,>=0.3.0 (from ocrmypdf==10.3.0) builder for '/nix/store/1ggj5wwl92xickc7w5hfl3zrjfscxnf1-ocrmypdf-10.3.0.drv' failed with exit code 1 error: build of '/nix/store/1ggj5wwl92xickc7w5hfl3zrjfscxnf1-ocrmypdf-10.3.0.drv' failed ```
Diffstat (limited to 'pkgs/tools/text/ocrmypdf')
-rw-r--r--pkgs/tools/text/ocrmypdf/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/tools/text/ocrmypdf/default.nix b/pkgs/tools/text/ocrmypdf/default.nix
index b7864b05b6e1..bfa22a4fd182 100644
--- a/pkgs/tools/text/ocrmypdf/default.nix
+++ b/pkgs/tools/text/ocrmypdf/default.nix
@@ -29,14 +29,14 @@ let
in
buildPythonApplication rec {
pname = "ocrmypdf";
- version = "10.3.0";
+ version = "11.0.1";
disabled = ! python3Packages.isPy3k;
src = fetchFromGitHub {
owner = "jbarlow83";
repo = "OCRmyPDF";
rev = "v${version}";
- sha256 = "0c6v7846lmkmbyfla07s35mpba4h09h0fx6pxqf0yvdjxmj46q8c";
+ sha256 = "194ds9i1zd80ynzwgv7kprax0crh7bbchayawdcvg2lyr64a82xn";
};
nativeBuildInputs = with python3Packages; [
@@ -76,8 +76,6 @@ buildPythonApplication rec {
src = ./liblept.patch;
liblept = "${stdenv.lib.getLib leptonica}/lib/liblept${stdenv.hostPlatform.extensions.sharedLibrary}";
})
- # https://github.com/jbarlow83/OCRmyPDF/pull/596
- ./0001-Make-compatible-with-pdfminer.six-version-20200720.patch
];
makeWrapperArgs = [ "--prefix PATH : ${stdenv.lib.makeBinPath [ ghostscript jbig2enc pngquant qpdf tesseract4 unpaper ]}" ];