depot/third_party/nixpkgs/pkgs/development/python-modules/tika/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

29 lines
616 B
Nix

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