Merge pull request #171354 from dotlambda/trytond-6.4.0
commit
884ba7d525
@ -1,24 +1,48 @@ |
||||
{ lib, fetchPypi, buildPythonPackage, genshi, lxml, python-magic }: |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchPypi |
||||
, genshi |
||||
, lxml |
||||
, pyyaml |
||||
, python-magic |
||||
, pytestCheckHook |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "relatorio"; |
||||
version = "0.10.0"; |
||||
version = "0.10.1"; |
||||
|
||||
disabled = pythonOlder "3.5"; |
||||
|
||||
format = "setuptools"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "6b9390eab696bdf569639ff58794fb9ef8ff19f94feea5b505a6ba06d0cfd026"; |
||||
sha256 = "a0c72302d50d5dfa433ddab191672eec1dde1c6ed26330a378b720e5a3012e23"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
genshi |
||||
lxml |
||||
python-magic |
||||
]; |
||||
|
||||
passthru.extras-require = { |
||||
chart = [ /* pycha */ pyyaml ]; |
||||
fodt = [ python-magic ]; |
||||
}; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
] ++ passthru.extras-require.fodt; |
||||
|
||||
pythonImportsCheck = [ "relatorio" ]; |
||||
|
||||
meta = { |
||||
homepage = "https://relatorio.tryton.org/"; |
||||
changelog = "https://hg.tryton.org/relatorio/file/${version}/CHANGELOG"; |
||||
description = "A templating library able to output odt and pdf files"; |
||||
maintainers = with lib.maintainers; [ johbo ]; |
||||
license = lib.licenses.gpl3; |
||||
license = lib.licenses.gpl2Plus; |
||||
}; |
||||
} |
||||
|
Loading…
Reference in new issue