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