mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
0215034f25
when they already rely on SRI hashes.
30 lines
614 B
Nix
30 lines
614 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyyaml
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tika";
|
|
version = "2.6.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "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 ];
|
|
};
|
|
}
|