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