Unverified Commit da820d93 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.unstructured-client: 0.42.12 -> 0.43.2 (#514241)

parents 571f4dcd 6e77c4bd
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
{
  aiofiles,
  buildPythonPackage,
  cryptography,
  deepdiff,
  fetchFromGitHub,
  httpcore,
  httpx,
  lib,
  poetry-core,
  pydantic,
  pypdf,
  pypdfium2,
@@ -15,33 +13,29 @@
  pytestCheckHook,
  python,
  requests-toolbelt,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "unstructured-client";
  version = "0.42.12";
  version = "0.43.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Unstructured-IO";
    repo = "unstructured-python-client";
    tag = "v${finalAttrs.version}";
    hash = "sha256-xuaGvQEu1QpLn33AUgdWW120pVVNVPL08U/SCA7kGvc=";
    hash = "sha256-Y/qhgm+mmKNPZhx/km02i7sc31izQH72REXYrKY++OM=";
  };

  preBuild = ''
    ${python.interpreter} scripts/prepare_readme.py
  '';

  build-system = [ poetry-core ];

  pythonRelaxDeps = [
    "pydantic"
  ];
  build-system = [ setuptools ];

  dependencies = [
    aiofiles
    cryptography
    httpcore
    httpx
    pydantic