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