summary refs log tree commit diff
path: root/pkgs/tools/text/rst2html5/default.nix
blob: c9e8b0469869485d7b9b2db794c4c3969a29975f (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
{ lib, python3Packages }:

let
  pname = "rst2html5";
  version = "1.10.6";
  format = "wheel";
in python3Packages.buildPythonPackage {
  inherit pname version format;

  src = python3Packages.fetchPypi {
    inherit pname version format;
    sha256 = "sha256-jmToDFLQODqgTycBp2J8LyoJ1Zxho9w1VdhFMzvDFkg=";
  };

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

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