From 234b1cf794c1f0f85e7d7f0353d8bd98c47f6ce5 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Fri, 9 Dec 2016 08:08:17 -0200 Subject: [PATCH] rst2html5: init at 1.9.3 Converts ReSTructuredtext (.rst) to (X)HTML5 --- pkgs/top-level/python-packages.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9d95557011b..765a872651f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22639,6 +22639,28 @@ in { }; + rst2html5 = buildPythonPackage rec { + name = "${pname}-${version}"; + pname = "rst2html5"; + version = "1.9.3"; + + src = pkgs.fetchurl { + url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; + sha256 = "1js90asy7s0278b4p28inkkp0r7ajr5fk5pcdgcdw628a30vl3i6"; + }; + + propagatedBuildInputs = with self; + [ docutils genshi pygments beautifulsoup4 ]; + + meta = { + homepage = "https://bitbucket.org/andre_felipe_dias/rst2html5"; + description = "Converts ReSTructuredText to (X)HTML5"; + license = licenses.mit; + maintainers = with maintainers; [ AndersonTorres ]; + }; + # TODO: treat rst2html5 as an ordinary package + }; + reviewboard = buildPythonPackage rec { name = "ReviewBoard-2.5.1.1";