1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pyyaml,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "tika";
11 version = "3.1.0";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-TDpATD2EZDfJQtam/Xtx1QKFaQ+uVImqim8A/5zND8c=";
17 };
18
19 propagatedBuildInputs = [
20 pyyaml
21 requests
22 ];
23
24 # Requires network
25 doCheck = false;
26 pythonImportsCheck = [ pname ];
27
28 meta = with lib; {
29 description = "Python binding to the Apache Tika™ REST services";
30 mainProgram = "tika-python";
31 homepage = "https://github.com/chrismattmann/tika-python";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ Flakebi ];
34 };
35}