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