ocrmypdf: 12.3.0 -> 12.5.0
Version 12.3.0 is not compatible with pluggy 1.0 (which now is in nixpkgs), so we have to upgrade to a version that supports it.
This commit is contained in:
parent
f023c47101
commit
70ac11ca8a
1 changed files with 4 additions and 4 deletions
|
@ -30,13 +30,13 @@ let
|
||||||
in
|
in
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "ocrmypdf";
|
pname = "ocrmypdf";
|
||||||
version = "12.3.0";
|
version = "12.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jbarlow83";
|
owner = "jbarlow83";
|
||||||
repo = "OCRmyPDF";
|
repo = "OCRmyPDF";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "122yv3p0v4fbx30zgppcznwnm7svg97gv0sa103xb6zcld68ggn2";
|
sha256 = "sha256-g80WedX+TGHE9EJ/RSgOc53PM17V3WZslUNaHoqKTo0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3Packages; [
|
nativeBuildInputs = with python3Packages; [
|
||||||
|
@ -47,9 +47,9 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
cffi
|
cffi
|
||||||
chardet
|
|
||||||
coloredlogs
|
coloredlogs
|
||||||
img2pdf
|
img2pdf
|
||||||
|
importlib-resources
|
||||||
pdfminer
|
pdfminer
|
||||||
pluggy
|
pluggy
|
||||||
pikepdf
|
pikepdf
|
||||||
|
@ -84,6 +84,6 @@ buildPythonApplication rec {
|
||||||
license = with licenses; [ mpl20 mit ];
|
license = with licenses; [ mpl20 mit ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.kiwi ];
|
maintainers = [ maintainers.kiwi ];
|
||||||
changelog = "https://github.com/jbarlow83/OCRmyPDF/blob/v${version}/docs/release_notes.rst";
|
changelog = "https://github.com/jbarlow83/OCRmyPDF/blob/v${version}/docs/release_notes.rst";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue