1{ lib, buildPythonPackage, fetchPypi,
2 mistune, docutils } :
3buildPythonPackage rec {
4 pname = "m2r";
5 version = "0.2.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "bf90bad66cda1164b17e5ba4a037806d2443f2a4d5ddc9f6a5554a0322aaed99";
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 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}