nixpkgs-suyu/pkgs/tools/text/rst2html5/default.nix
2021-07-31 19:00:35 -03:00

25 lines
580 B
Nix

{ 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 ];
};
}