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