2020-12-03 08:41:04 +00:00
|
|
|
{ lib, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
python3Packages.buildPythonPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "rst2html5";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
src = python3Packages.fetchPypi {
|
2021-08-05 21:33:18 +00:00
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-Ejjja/fm6wXTf9YtjCYZsNDB8X5oAtyPoUIsYFDuZfc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
buildInputs = with python3Packages; [
|
|
|
|
beautifulsoup4
|
|
|
|
docutils
|
|
|
|
genshi
|
|
|
|
pygments
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
meta = with lib;{
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "https://rst2html5.readthedocs.io/en/latest/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Converts ReSTructuredText to (X)HTML5";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|