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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
580 B
Nix
Raw Normal View History

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