3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/rst2html5/default.nix

26 lines
580 B
Nix
Raw Normal View History

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