6 # propagated build inputs
35 pname = "unstructured-api-tools";
37 format = "setuptools";
39 disabled = pythonOlder "3.8";
41 src = fetchFromGitHub {
42 owner = "Unstructured-IO";
43 repo = "unstructured-api-tools";
44 rev = "refs/tags/${version}";
45 hash = "sha256-t1fK40ayR2bxc1iMIwvn/OHuyVlR98Gq+NpIhOmaP+4=";
48 propagatedBuildInputs = [
60 ] ++ uvicorn.optional-dependencies.standard;
62 pythonImportsCheck = [ "unstructured_api_tools" ];
64 # test require file generation but it complains about a missing file mypy
67 # substituteInPlace Makefile \
68 # --replace "PYTHONPATH=." "" \
69 # --replace "mypy" "${mypy}/bin/mypy"
70 # make generate-test-api
89 mainProgram = "unstructured_api_tools";
90 homepage = "https://github.com/Unstructured-IO/unstructured-api-tools";
91 changelog = "https://github.com/Unstructured-IO/unstructured-api-tools/blob/${version}/CHANGELOG.md";
92 license = licenses.asl20;
93 maintainers = with maintainers; [ happysalada ];