Merge pull request #149436 from dotlambda/ocrmypdf-13.1.0

python3Packages.ocrmypdf: 13.0.0 -> 13.1.0
This commit is contained in:
Florian Klink 2021-12-08 22:29:04 +01:00 committed by GitHub
commit 7ff4406f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
{ lib
, buildPythonPackage
, cffi
, coloredlogs
, fetchFromGitHub
, ghostscript
@ -17,7 +16,6 @@
, pytestCheckHook
, pythonOlder
, reportlab
, setuptools
, setuptools-scm
, setuptools-scm-git-archive
, stdenv
@ -29,7 +27,7 @@
buildPythonPackage rec {
pname = "ocrmypdf";
version = "13.0.0";
version = "13.1.0";
src = fetchFromGitHub {
owner = "jbarlow83";
@ -41,7 +39,7 @@ buildPythonPackage rec {
extraPostFetch = ''
rm "$out/.git_archival.txt"
'';
sha256 = "sha256-W5RFCWKDIRrsgHZL8uSOQWvEltLbqYAweZkgIZZrSIo=";
sha256 = "sha256-K8amHifxaR/tRiQODWVZcOd5nL5zzjd8C7h5whl/HoQ=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -63,7 +61,6 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
cffi
coloredlogs
img2pdf
pdfminer
@ -71,7 +68,6 @@ buildPythonPackage rec {
pillow
pluggy
reportlab
setuptools
tqdm
] ++ (lib.optionals (pythonOlder "3.8") [
importlib-metadata