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