depot/third_party/nixpkgs/pkgs/development/python-modules/tika/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
687 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pyyaml,
requests,
}:
buildPythonPackage rec {
pname = "tika";
version = "2.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-VmcOuBKUTrJe1z8bOwdapB56E1t0skCCLyi4GeWzc9o=";
};
propagatedBuildInputs = [
pyyaml
requests
];
# Requires network
doCheck = false;
pythonImportsCheck = [ pname ];
meta = with lib; {
description = "Python binding to the Apache Tika REST services";
mainProgram = "tika-python";
homepage = "https://github.com/chrismattmann/tika-python";
license = licenses.asl20;
maintainers = with maintainers; [ Flakebi ];
};
}