diff --git a/pkgs/development/python-modules/tika-client/default.nix b/pkgs/development/python-modules/tika-client/default.nix index f70747fef55b..b16ace6df913 100644 --- a/pkgs/development/python-modules/tika-client/default.nix +++ b/pkgs/development/python-modules/tika-client/default.nix @@ -2,35 +2,33 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, + anyio, hatchling, httpx, }: buildPythonPackage rec { pname = "tika-client"; - version = "0.9.0"; + version = "0.10.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "stumpylog"; repo = "tika-client"; tag = version; - hash = "sha256-lg6syUbEbPb70iBa4lw5fVN8cvfWY3bkG2jNGxxNLDo="; + hash = "sha256-XYyMp+02lWzE+3Txr+shVGVwalLEJHvoy988tA7SWgY="; }; build-system = [ hatchling ]; - dependencies = [ httpx ]; + dependencies = [ + anyio + httpx + ]; pythonImportsCheck = [ "tika_client" ]; - # Almost all of the tests (all except one in 0.1.0) fail since there - # is no tika http API endpoint reachable. Since tika is not yet - # packaged for nixpkgs, it seems like an unreasonable amount of effort - # fixing these tests. + # The tests expect the tika-server to run in a docker container doChecks = false; meta = with lib; {