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