Merge pull request #174424 from dotlambda/ocrmypdf-13.4.5

authored by

Sandro and committed by
GitHub
7ac2429f 104f09f2

+5 -11
+5 -11
pkgs/development/python-modules/ocrmypdf/default.nix
··· 27 27 28 28 buildPythonPackage rec { 29 29 pname = "ocrmypdf"; 30 - version = "13.4.4"; 30 + version = "13.4.5"; 31 31 32 32 src = fetchFromGitHub { 33 - owner = "jbarlow83"; 33 + owner = "ocrmypdf"; 34 34 repo = "OCRmyPDF"; 35 35 rev = "v${version}"; 36 36 # The content of .git_archival.txt is substituted upon tarball creation, ··· 39 39 postFetch = '' 40 40 rm "$out/.git_archival.txt" 41 41 ''; 42 - hash = "sha256-uFKnohUxh17h6u0vwVB7EaTEh5NRowP8a6za63Ehodk="; 42 + hash = "sha256-5IpJ55Vu9LjGgWJITkAH5fOr+MfovswWhwqbEs/RlzA="; 43 43 }; 44 44 45 45 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 80 80 pytestCheckHook 81 81 ]; 82 82 83 - postPatch = '' 84 - # https://github.com/ocrmypdf/OCRmyPDF/issues/933 85 - substituteInPlace setup.cfg \ 86 - --replace "pdfminer.six!=20200720,>=20191110,<=20220319" "pdfminer.six!=20200720,>=20191110" 87 - ''; 88 - 89 83 pythonImportsCheck = [ 90 84 "ocrmypdf" 91 85 ]; 92 86 93 87 meta = with lib; { 94 - homepage = "https://github.com/jbarlow83/OCRmyPDF"; 88 + homepage = "https://github.com/ocrmypdf/OCRmyPDF"; 95 89 description = "Adds an OCR text layer to scanned PDF files, allowing them to be searched"; 96 90 license = with licenses; [ mpl20 mit ]; 97 91 maintainers = with maintainers; [ kiwi dotlambda ]; 98 - changelog = "https://github.com/jbarlow83/OCRmyPDF/blob/v${version}/docs/release_notes.rst"; 92 + changelog = "https://github.com/ocrmypdf/OCRmyPDF/blob/${src.rev}/docs/release_notes.rst"; 99 93 }; 100 94 }