python3Packages.tika-client: 0.9.0 -> 0.10.0
Diff: https://github.com/stumpylog/tika-client/compare/0.9.0...0.10.0 Changelog: https://github.com/stumpylog/tika-client/blob/0.10.0/CHANGELOG.md
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user