summary refs log tree commit diff
path: root/pkgs/tools/text/rst2html5/default.nix
blob: 83ac2d4d766dce2307596873aa6ae289075eaac9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, pythonPackages }:

pythonPackages.buildPythonPackage rec {
  pname = "rst2html5";
  version = "1.9.4";

  src = fetchurl {
    url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
    sha256 = "d044589d30eeaf7336986078b7bd175510fd649a212b01a457d7806b279e6c73";
  };

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

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