nixpkgs/pkgs/tools/text/rst2html5/default.nix
2020-11-30 17:58:53 -03:00

25 lines
619 B
Nix

{ lib, python3Packages }:
let
pname = "rst2html5";
version = "1.10.6";
in python3Packages.buildPythonPackage {
inherit pname version;
format = "wheel";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-jmToDFLQODqgTycBp2J8LyoJ1Zxho9w1VdhFMzvDFkg=";
};
propagatedBuildInputs = with python3Packages;
[ docutils genshi pygments beautifulsoup4 ];
meta = with lib;{
homepage = "https://pypi.org/project/rst2html5/";
description = "Converts ReSTructuredText to (X)HTML5";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
};
}