Loading pkgs/development/python-modules/docling-ibm-models/default.nix +9 −1 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -58,8 +59,9 @@ buildPythonPackage rec { ]; pythonRelaxDeps = [ "transformers" "jsonlines" "numpy" "transformers" ]; pythonImportsCheck = [ Loading @@ -81,6 +83,12 @@ buildPythonPackage rec { "test_tf_predictor" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package "tests/test_code_formula_predictor.py" "tests/test_layout_predictor.py" ]; meta = { changelog = "https://github.com/DS4SD/docling-ibm-models/blob/${src.tag}/CHANGELOG.md"; description = "Docling IBM models"; Loading pkgs/development/python-modules/docling/default.nix +20 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -160,6 +161,25 @@ buildPythonPackage rec { "test_e2e_valid_csv_conversions" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package "tests/test_backend_csv.py" "tests/test_backend_html.py" "tests/test_backend_jats.py" "tests/test_backend_msexcel.py" "tests/test_backend_msword.py" "tests/test_backend_pptx.py" "tests/test_cli.py" "tests/test_code_formula.py" "tests/test_document_picture_classifier.py" "tests/test_e2e_conversion.py" "tests/test_e2e_ocr_conversion.py" "tests/test_interfaces.py" "tests/test_invalid_input.py" "tests/test_legacy_format_transform.py" "tests/test_options.py" ]; meta = { description = "Get your documents ready for gen AI"; homepage = "https://github.com/DS4SD/docling"; Loading Loading
pkgs/development/python-modules/docling-ibm-models/default.nix +9 −1 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -58,8 +59,9 @@ buildPythonPackage rec { ]; pythonRelaxDeps = [ "transformers" "jsonlines" "numpy" "transformers" ]; pythonImportsCheck = [ Loading @@ -81,6 +83,12 @@ buildPythonPackage rec { "test_tf_predictor" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package "tests/test_code_formula_predictor.py" "tests/test_layout_predictor.py" ]; meta = { changelog = "https://github.com/DS4SD/docling-ibm-models/blob/${src.tag}/CHANGELOG.md"; description = "Docling IBM models"; Loading
pkgs/development/python-modules/docling/default.nix +20 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -160,6 +161,25 @@ buildPythonPackage rec { "test_e2e_valid_csv_conversions" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package "tests/test_backend_csv.py" "tests/test_backend_html.py" "tests/test_backend_jats.py" "tests/test_backend_msexcel.py" "tests/test_backend_msword.py" "tests/test_backend_pptx.py" "tests/test_cli.py" "tests/test_code_formula.py" "tests/test_document_picture_classifier.py" "tests/test_e2e_conversion.py" "tests/test_e2e_ocr_conversion.py" "tests/test_interfaces.py" "tests/test_invalid_input.py" "tests/test_legacy_format_transform.py" "tests/test_options.py" ]; meta = { description = "Get your documents ready for gen AI"; homepage = "https://github.com/DS4SD/docling"; Loading