nixpkgs/pkgs/development/python-modules/tika/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 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 ];
};
}