nixpkgs/pkgs/tools/text/rst2html5/default.nix

25 lines
633 B
Nix
Raw Normal View History

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