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

26 lines
580 B
Nix
Raw Normal View History

2020-11-30 21:36:21 +01:00
{ lib, python3Packages }:
2021-07-31 23:48:08 +02:00
python3Packages.buildPythonPackage rec {
pname = "rst2html5";
2021-07-31 23:48:08 +02:00
version = "2.0";
2020-11-30 21:36:21 +01:00
src = python3Packages.fetchPypi {
2021-07-31 23:48:08 +02:00
inherit pname version;
hash = "sha256-Ejjja/fm6wXTf9YtjCYZsNDB8X5oAtyPoUIsYFDuZfc=";
};
2021-07-31 23:48:08 +02:00
buildInputs = with python3Packages; [
beautifulsoup4
docutils
genshi
pygments
];
2020-11-30 21:36:21 +01:00
meta = with lib;{
2021-07-31 23:48:08 +02:00
homepage = "https://rst2html5.readthedocs.io/en/latest/";
description = "Converts ReSTructuredText to (X)HTML5";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
};
}