1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, unittestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "mdutils";
9 version = "1.4.0";
10
11 src = fetchFromGitHub {
12 owner = "didix21";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "sha256-regIrMWbGmW574dfojxZFJoivpaqOpN1I6YsqLEp8BM=";
16 };
17
18 checkInputs = [ unittestCheckHook ];
19
20 meta = with lib; {
21 description = "Set of basic tools that can help to create Markdown files";
22 longDescription = ''
23 This Python package contains a set of basic tools that can help to create
24 a Markdown file while running a Python code. Thus, if you are executing a
25 Python code and you save the result in a text file, Why not format it? So
26 using files such as Markdown can give a great look to those results. In
27 this way, mdutils will make things easy for creating Markdown files.
28 '';
29 homepage = "https://github.com/didix21/mdutils";
30 changelog = "https://github.com/didix21/mdutils/releases/tag/${src.rev}";
31 license = licenses.mit;
32 maintainers = with maintainers; [ azahi ];
33 };
34}