2017-05-01 23:12:36 +02:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "rst2html5";
|
2018-06-21 07:37:19 +02:00
|
|
|
version = "1.9.4";
|
2017-05-01 23:12:36 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
2018-06-21 07:37:19 +02:00
|
|
|
sha256 = "d044589d30eeaf7336986078b7bd175510fd649a212b01a457d7806b279e6c73";
|
2017-05-01 23:12:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages;
|
|
|
|
[ docutils genshi pygments beautifulsoup4 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib;{
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://bitbucket.org/andre_felipe_dias/rst2html5;
|
2017-05-01 23:12:36 +02:00
|
|
|
description = "Converts ReSTructuredText to (X)HTML5";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|