5 # propagated build inputs
34 pname = "unstructured-api-tools";
36 format = "setuptools";
38 disabled = pythonOlder "3.8";
40 src = fetchFromGitHub {
41 owner = "Unstructured-IO";
42 repo = "unstructured-api-tools";
43 rev = "refs/tags/${version}";
44 hash = "sha256-t1fK40ayR2bxc1iMIwvn/OHuyVlR98Gq+NpIhOmaP+4=";
47 propagatedBuildInputs = [
59 ] ++ uvicorn.optional-dependencies.standard;
61 pythonImportsCheck = [ "unstructured_api_tools" ];
63 # test require file generation but it complains about a missing file mypy
66 # substituteInPlace Makefile \
67 # --replace "PYTHONPATH=." "" \
68 # --replace "mypy" "${mypy}/bin/mypy"
69 # make generate-test-api
88 homepage = "https://github.com/Unstructured-IO/unstructured-api-tools";
89 changelog = "https://github.com/Unstructured-IO/unstructured-api-tools/blob/${version}/CHANGELOG.md";
90 license = licenses.asl20;
91 maintainers = with maintainers; [ happysalada ];