1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 anyio, 6 hatchling, 7 httpx, 8}: 9 10buildPythonPackage rec { 11 pname = "tika-client"; 12 version = "0.10.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "stumpylog"; 17 repo = "tika-client"; 18 tag = version; 19 hash = "sha256-XYyMp+02lWzE+3Txr+shVGVwalLEJHvoy988tA7SWgY="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 dependencies = [ 25 anyio 26 httpx 27 ]; 28 29 pythonImportsCheck = [ "tika_client" ]; 30 31 # The tests expect the tika-server to run in a docker container 32 doChecks = false; 33 34 meta = with lib; { 35 description = "Modern Python REST client for Apache Tika server"; 36 homepage = "https://github.com/stumpylog/tika-client"; 37 changelog = "https://github.com/stumpylog/tika-client/blob/${src.tag}/CHANGELOG.md"; 38 license = licenses.mpl20; 39 maintainers = with maintainers; [ e1mo ]; 40 }; 41}