···11+{ lib
22+, buildPythonPackage
33+, fetchFromGitHub
44+, python
55+}:
66+77+buildPythonPackage rec {
88+ pname = "mdutils";
99+ version = "1.4.0";
1010+1111+ src = fetchFromGitHub {
1212+ owner = "didix21";
1313+ repo = pname;
1414+ rev = "v${version}";
1515+ sha256 = "sha256-regIrMWbGmW574dfojxZFJoivpaqOpN1I6YsqLEp8BM=";
1616+ };
1717+1818+ checkPhase = ''
1919+ runHook preCheck
2020+ ${python.interpreter} -m unittest discover
2121+ runHook postCheck
2222+ '';
2323+2424+ meta = with lib; {
2525+ description = "Set of basic tools that can help to create Markdown files";
2626+ longDescription = ''
2727+ This Python package contains a set of basic tools that can help to create
2828+ a Markdown file while running a Python code. Thus, if you are executing a
2929+ Python code and you save the result in a text file, Why not format it? So
3030+ using files such as Markdown can give a great look to those results. In
3131+ this way, mdutils will make things easy for creating Markdown files.
3232+ '';
3333+ homepage = "https://github.com/didix21/mdutils";
3434+ changelog = "https://github.com/didix21/mdutils/releases/tag/${src.rev}";
3535+ license = licenses.mit;
3636+ maintainers = with maintainers; [ azahi ];
3737+ };
3838+}