1{ stdenv, buildPythonPackage, fetchPypi,
2 mistune, docutils } :
3buildPythonPackage rec {
4 pname = "m2r";
5 name = "${pname}-${version}";
6 version = "0.1.10";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "cfb5b8a37defdd594eb46a794b87d9b4ca1902b0e8e309c9f2623f7275c261d6";
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}