Unverified Commit 0d8aa070 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.tika-client: refactor

parent efaf696f
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -6,10 +6,11 @@
  hatchling,
  httpx,
}:

buildPythonPackage rec {
  pname = "tika-client";
  version = "0.7.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.8";

@@ -20,11 +21,12 @@ buildPythonPackage rec {
    hash = "sha256-0cv2HaquIUQOb5CPkCxSYvXDzu3OV7WKIT80jI+pjpY=";
  };

  propagatedBuildInputs = [
    hatchling
    httpx
  ];
  build-system = [ hatchling ];

  dependencies = [ 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