python312Packages.docling-core: init at 2.3.1
This commit is contained in:
parent
f170df7763
commit
6487438e99
pkgs
59
pkgs/development/python-modules/docling-core/default.nix
Normal file
59
pkgs/development/python-modules/docling-core/default.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
jsonref,
|
||||
jsonschema,
|
||||
pandas,
|
||||
pillow,
|
||||
pydantic,
|
||||
tabulate,
|
||||
jsondiff,
|
||||
requests,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "docling-core";
|
||||
version = "2.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DS4SD";
|
||||
repo = "docling-core";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-yNsmMAeR1sbZsddpjMFWZy2UAbIWWiZmdW4/lwLvCbM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
jsonref
|
||||
jsonschema
|
||||
pandas
|
||||
pillow
|
||||
pydantic
|
||||
tabulate
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"docling_core"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jsondiff
|
||||
pytestCheckHook
|
||||
requests
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/DS4SD/docling-core/blob/${version}/CHANGELOG.md";
|
||||
description = "Python library to define and validate data types in Docling";
|
||||
homepage = "https://github.com/DS4SD/docling-core";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
@ -3688,6 +3688,8 @@ self: super: with self; {
|
||||
|
||||
dockerspawner = callPackage ../development/python-modules/dockerspawner { };
|
||||
|
||||
docling-core = callPackage ../development/python-modules/docling-core { };
|
||||
|
||||
docling-ibm-models = callPackage ../development/python-modules/docling-ibm-models { };
|
||||
|
||||
docling-parse = callPackage ../development/python-modules/docling-parse {
|
||||
|
Loading…
Reference in New Issue
Block a user