nixpkgs/pkgs/development/python-modules/tika/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
614 B
Nix
Raw Normal View History

2021-05-13 14:41:36 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, requests
}:
buildPythonPackage rec {
pname = "tika";
2023-01-09 13:29:01 +00:00
version = "2.6.0";
2021-05-13 14:41:36 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-VmcOuBKUTrJe1z8bOwdapB56E1t0skCCLyi4GeWzc9o=";
2021-05-13 14:41:36 +00:00
};
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 ];
};
}