diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/text/rst2html5/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/text/rst2html5/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/text/rst2html5/default.nix b/nixpkgs/pkgs/tools/text/rst2html5/default.nix new file mode 100644 index 000000000000..5ae0caa34e13 --- /dev/null +++ b/nixpkgs/pkgs/tools/text/rst2html5/default.nix @@ -0,0 +1,25 @@ +{ lib, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "rst2html5"; + version = "2.0"; + + src = python3Packages.fetchPypi { + inherit pname version; + hash = "sha256-Ejjja/fm6wXTf9YtjCYZsNDB8X5oAtyPoUIsYFDuZfc="; + }; + + buildInputs = with python3Packages; [ + beautifulsoup4 + docutils + genshi + pygments + ]; + + meta = with lib;{ + homepage = "https://rst2html5.readthedocs.io/en/latest/"; + description = "Converts ReSTructuredText to (X)HTML5"; + license = licenses.mit; + maintainers = with maintainers; [ AndersonTorres ]; + }; +} |