2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2022-09-09 14:08:57 +00:00
|
|
|
, unittestCheckHook
|
2022-08-12 12:06:08 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mdutils";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.6.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "didix21";
|
|
|
|
repo = pname;
|
2023-03-15 16:39:30 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-xF6z63CjL/qSBQsm/fSTQhwpg9yJU4qrY06cjn1PbCk=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
pythonImportsCheck = [ "mdutils" ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Set of basic tools that can help to create Markdown files";
|
|
|
|
longDescription = ''
|
|
|
|
This Python package contains a set of basic tools that can help to create
|
|
|
|
a Markdown file while running a Python code. Thus, if you are executing a
|
|
|
|
Python code and you save the result in a text file, Why not format it? So
|
|
|
|
using files such as Markdown can give a great look to those results. In
|
|
|
|
this way, mdutils will make things easy for creating Markdown files.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/didix21/mdutils";
|
|
|
|
changelog = "https://github.com/didix21/mdutils/releases/tag/${src.rev}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ azahi ];
|
|
|
|
};
|
|
|
|
}
|