Loading pkgs/development/python-modules/docling/default.nix +2 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -50,14 +49,14 @@ buildPythonPackage rec { pname = "docling"; version = "2.28.4"; version = "2.30.0"; pyproject = true; src = fetchFromGitHub { owner = "docling-project"; repo = "docling"; tag = "v${version}"; hash = "sha256-vc2skcPno6cyRKb3qQ2cfLipxdBicjxUNqII5lRPzKw="; hash = "sha256-uYhqnOyj0bN/v51mafSAT073fVVedppsHZHQCk7E2Rk="; }; build-system = [ Loading pkgs/development/python-modules/tesserocr/default.nix +16 −4 Original line number Diff line number Diff line { buildPythonPackage, fetchPypi, fetchpatch, lib, # build-system Loading Loading @@ -29,6 +30,17 @@ buildPythonPackage rec { hash = "sha256-vlGNGxtf9UwRqtoeD9EpQlCepwWB4KizmipHOgstvTY="; }; patches = [ # Fix a broken test. The issue has been reported upstream at # https://github.com/sirfz/tesserocr/issues/363 # Check the status of the issue before removing this patch at the next # update. (fetchpatch { url = "https://github.com/sirfz/tesserocr/commit/78d9e8187bd4d282d572bd5221db2c69e560e017.patch"; hash = "sha256-s51s9EIV9AZT6UoqwTuQ8lOjToqwIIUkDLjsvCsyYFU="; }) ]; # https://github.com/sirfz/tesserocr/issues/314 postPatch = '' sed -i '/allheaders.h/a\ pass\n\ncdef extern from "leptonica/pix_internal.h" nogil:' tesserocr/tesseract.pxd Loading @@ -55,12 +67,12 @@ buildPythonPackage rec { rm -rf tesserocr ''; meta = with lib; { meta = { changelog = "https://github.com/sirfz/tesserocr/releases/tag/v${version}"; description = "Simple, Pillow-friendly, wrapper around the tesseract-ocr API for Optical Character Recognition (OCR)"; homepage = "https://github.com/sirfz/tesserocr"; license = licenses.mit; maintainers = with maintainers; [ mtrsk ]; platforms = platforms.unix; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mtrsk ]; platforms = lib.platforms.unix; }; } Loading
pkgs/development/python-modules/docling/default.nix +2 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -50,14 +49,14 @@ buildPythonPackage rec { pname = "docling"; version = "2.28.4"; version = "2.30.0"; pyproject = true; src = fetchFromGitHub { owner = "docling-project"; repo = "docling"; tag = "v${version}"; hash = "sha256-vc2skcPno6cyRKb3qQ2cfLipxdBicjxUNqII5lRPzKw="; hash = "sha256-uYhqnOyj0bN/v51mafSAT073fVVedppsHZHQCk7E2Rk="; }; build-system = [ Loading
pkgs/development/python-modules/tesserocr/default.nix +16 −4 Original line number Diff line number Diff line { buildPythonPackage, fetchPypi, fetchpatch, lib, # build-system Loading Loading @@ -29,6 +30,17 @@ buildPythonPackage rec { hash = "sha256-vlGNGxtf9UwRqtoeD9EpQlCepwWB4KizmipHOgstvTY="; }; patches = [ # Fix a broken test. The issue has been reported upstream at # https://github.com/sirfz/tesserocr/issues/363 # Check the status of the issue before removing this patch at the next # update. (fetchpatch { url = "https://github.com/sirfz/tesserocr/commit/78d9e8187bd4d282d572bd5221db2c69e560e017.patch"; hash = "sha256-s51s9EIV9AZT6UoqwTuQ8lOjToqwIIUkDLjsvCsyYFU="; }) ]; # https://github.com/sirfz/tesserocr/issues/314 postPatch = '' sed -i '/allheaders.h/a\ pass\n\ncdef extern from "leptonica/pix_internal.h" nogil:' tesserocr/tesseract.pxd Loading @@ -55,12 +67,12 @@ buildPythonPackage rec { rm -rf tesserocr ''; meta = with lib; { meta = { changelog = "https://github.com/sirfz/tesserocr/releases/tag/v${version}"; description = "Simple, Pillow-friendly, wrapper around the tesseract-ocr API for Optical Character Recognition (OCR)"; homepage = "https://github.com/sirfz/tesserocr"; license = licenses.mit; maintainers = with maintainers; [ mtrsk ]; platforms = platforms.unix; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mtrsk ]; platforms = lib.platforms.unix; }; }