pythonPackages.mdutils: init at 1.4.0

Fixes: #182489
This commit is contained in:
Azat Bahawi 2022-07-28 01:28:54 +03:00
parent 9bff958870
commit c9e81d32fa
No known key found for this signature in database
GPG key ID: C8C6BDDB3847F72B
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python
}:
buildPythonPackage rec {
pname = "mdutils";
version = "1.4.0";
src = fetchFromGitHub {
owner = "didix21";
repo = pname;
rev = "v${version}";
sha256 = "sha256-regIrMWbGmW574dfojxZFJoivpaqOpN1I6YsqLEp8BM=";
};
checkPhase = ''
runHook preCheck
${python.interpreter} -m unittest discover
runHook postCheck
'';
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 ];
};
}

View file

@ -5354,6 +5354,8 @@ in {
mdurl = callPackage ../development/python-modules/mdurl { };
mdutils = callPackage ../development/python-modules/mdutils { };
MDP = callPackage ../development/python-modules/mdp { };
measurement = callPackage ../development/python-modules/measurement { };