diff --git a/pkgs/development/python-modules/relatorio/default.nix b/pkgs/development/python-modules/relatorio/default.nix new file mode 100644 index 00000000000..4f2c3da8936 --- /dev/null +++ b/pkgs/development/python-modules/relatorio/default.nix @@ -0,0 +1,20 @@ +{ lib, fetchurl, buildPythonPackage, genshi, lxml }: + +buildPythonPackage rec { + name = "relatorio-${version}"; + version = "0.6.4"; + src = fetchurl { + url = "mirror://pypi/r/relatorio/${name}.tar.gz"; + sha256 = "0lincq79mzgazwd9gh41dybjh9c3n87r83pl8nk3j79aihyfk84z"; + }; + propagatedBuildInputs = [ + genshi + lxml + ]; + 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; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b8dd178bfa5..d06eb1f2a3a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -356,6 +356,8 @@ in { pyxml = if !isPy3k then callPackage ../development/python-modules/pyxml{ } else throw "pyxml not supported for interpreter ${python.executable}"; + relatorio = callPackage ../development/python-modules/relatorio { }; + rhpl = if !isPy3k then callPackage ../development/python-modules/rhpl {} else throw "rhpl not supported for interpreter ${python.executable}"; sip = callPackage ../development/python-modules/sip { };