summary refs log tree commit diff
path: root/pkgs/tools/text/rst2html5/default.nix
blob: 5ae0caa34e13f33e0b14e1703a378cadda0f44ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, python3Packages }:

python3Packages.buildPythonPackage rec {
  pname = "rst2html5";
  version = "2.0";

  src = python3Packages.fetchPypi {
    inherit pname version;
    hash = "sha256-Ejjja/fm6wXTf9YtjCYZsNDB8X5oAtyPoUIsYFDuZfc=";
  };

  buildInputs = with python3Packages; [
    beautifulsoup4
    docutils
    genshi
    pygments
  ];

  meta = with lib;{
    homepage = "https://rst2html5.readthedocs.io/en/latest/";
    description = "Converts ReSTructuredText to (X)HTML5";
    license = licenses.mit;
    maintainers = with maintainers; [ AndersonTorres ];
  };
}