nixpkgs/pkgs/development/python-modules/relatorio/default.nix

23 lines
620 B
Nix
Raw Normal View History

2017-08-25 09:52:18 +01:00
{ lib, fetchurl, buildPythonPackage, genshi, lxml, python_magic }:
2017-02-18 20:04:52 +00:00
buildPythonPackage rec {
pname = "relatorio";
name = "${pname}-${version}";
2017-12-30 11:26:49 +00:00
version = "0.8.0";
2017-02-18 20:04:52 +00:00
src = fetchurl {
url = "mirror://pypi/r/relatorio/${name}.tar.gz";
2017-12-30 11:26:49 +00:00
sha256 = "bddf85d029c5c85a0f976d73907e14e4c3093065fe8527170c91abf0218546d9";
2017-02-18 20:04:52 +00:00
};
propagatedBuildInputs = [
genshi
lxml
2017-08-25 09:52:18 +01:00
python_magic
2017-02-18 20:04:52 +00:00
];
meta = {
homepage = http://relatorio.tryton.org/;
description = "A templating library able to output odt and pdf files";
maintainers = with lib.maintainers; [ johbo ];
license = lib.licenses.gpl3;
};
}