13 buildPythonPackage rec {
17 disabled = pythonOlder "3.5";
19 format = "setuptools";
22 inherit pname version;
23 hash = "sha256-e6CvclFrRfXR5fL2ZG1LZxTTsTRouLsDicCwvXtySGE=";
26 propagatedBuildInputs = [
31 optional-dependencies = {
36 fodt = [ python-magic ];
39 nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.fodt;
41 pythonImportsCheck = [ "relatorio" ];
44 homepage = "https://relatorio.tryton.org/";
45 changelog = "https://hg.tryton.org/relatorio/file/${version}/CHANGELOG";
46 description = "Templating library able to output odt and pdf files";
47 mainProgram = "relatorio-render";
48 maintainers = with lib.maintainers; [ johbo ];
49 license = lib.licenses.gpl2Plus;