mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
python3Packages.tika-client: 0.11.0 -> 1.0.0
Changelog: https://github.com/stumpylog/tika-client/releases/tag/1.0.0 Diff: https://github.com/stumpylog/tika-client/compare/0.11.0...1.0.0
This commit is contained in:
@@ -5,18 +5,20 @@
|
||||
anyio,
|
||||
hatchling,
|
||||
httpx,
|
||||
niquests,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tika-client";
|
||||
version = "0.11.0";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stumpylog";
|
||||
repo = "tika-client";
|
||||
tag = version;
|
||||
hash = "sha256-vVS+1RmJVURz25jlABsJBqL02GgAY18AeWag0GUmRWQ=";
|
||||
hash = "sha256-ZXtNHjdbAzur6lRZIom+wDMhXgpqQxvHPQMxjXJDwlw=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@@ -26,6 +28,12 @@ buildPythonPackage rec {
|
||||
httpx
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
httpx = [ httpx ];
|
||||
niquests = [ niquests ];
|
||||
requests = [ requests ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "tika_client" ];
|
||||
|
||||
# The tests expect the tika-server to run in a docker container
|
||||
|
||||
Reference in New Issue
Block a user