at 18.03-beta 716 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, 2 mistune, docutils } : 3buildPythonPackage rec { 4 pname = "m2r"; 5 name = "${pname}-${version}"; 6 version = "0.1.13"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "b19e3703a3a897859f01ff6a068ee9a0eea8e8fdf75e896e00e88b3476a12f87"; 11 }; 12 13 propagatedBuildInputs = [ mistune docutils ]; 14 15 # Some tests interfeere with each other (test.md and test.rst are 16 # deleted by some tests and not properly regenerated) 17 doCheck = false; 18 19 meta = with stdenv.lib; { 20 homepage = https://github.com/miyakogi/m2r; 21 description = "converts a markdown file including reST markups to a valid reST format"; 22 license = licenses.mit; 23 maintainers = [ ]; 24 }; 25}