summaryrefslogtreecommitdiffstats
path: root/pkgs/development
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-05-26 00:20:05 +0200
committerGitHub <noreply@github.com>2022-05-26 00:20:05 +0200
commit7ac2429f5a709f867d765e792f10af7764a5fabb (patch)
tree075651fdcf97ff30346c17d5606be445be6af903 /pkgs/development
parent104f09f2e4a84a9845da4c0131dac34b090c4b02 (diff)
parenteb70391a8c17909dd3d366250138baaec16cca48 (diff)
Merge pull request #174424 from dotlambda/ocrmypdf-13.4.5
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/ocrmypdf/default.nix16
1 files changed, 5 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/ocrmypdf/default.nix b/pkgs/development/python-modules/ocrmypdf/default.nix
index e411519c95a4..168777594aef 100644
--- a/pkgs/development/python-modules/ocrmypdf/default.nix
+++ b/pkgs/development/python-modules/ocrmypdf/default.nix
@@ -27,10 +27,10 @@
buildPythonPackage rec {
pname = "ocrmypdf";
- version = "13.4.4";
+ version = "13.4.5";
src = fetchFromGitHub {
- owner = "jbarlow83";
+ owner = "ocrmypdf";
repo = "OCRmyPDF";
rev = "v${version}";
# The content of .git_archival.txt is substituted upon tarball creation,
@@ -39,7 +39,7 @@ buildPythonPackage rec {
postFetch = ''
rm "$out/.git_archival.txt"
'';
- hash = "sha256-uFKnohUxh17h6u0vwVB7EaTEh5NRowP8a6za63Ehodk=";
+ hash = "sha256-5IpJ55Vu9LjGgWJITkAH5fOr+MfovswWhwqbEs/RlzA=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -80,21 +80,15 @@ buildPythonPackage rec {
pytestCheckHook
];
- postPatch = ''
- # https://github.com/ocrmypdf/OCRmyPDF/issues/933
- substituteInPlace setup.cfg \
- --replace "pdfminer.six!=20200720,>=20191110,<=20220319" "pdfminer.six!=20200720,>=20191110"
- '';
-
pythonImportsCheck = [
"ocrmypdf"
];
meta = with lib; {
- homepage = "https://github.com/jbarlow83/OCRmyPDF";
+ homepage = "https://github.com/ocrmypdf/OCRmyPDF";
description = "Adds an OCR text layer to scanned PDF files, allowing them to be searched";
license = with licenses; [ mpl20 mit ];
maintainers = with maintainers; [ kiwi dotlambda ];
- changelog = "https://github.com/jbarlow83/OCRmyPDF/blob/v${version}/docs/release_notes.rst";
+ changelog = "https://github.com/ocrmypdf/OCRmyPDF/blob/${src.rev}/docs/release_notes.rst";
};
}