mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
ebc2389134
diff of `jq <packages.json 'to_entries[]|"\(.key) \(.value.meta.changelog)"' -r`: https://gist.github.com/pbsds/49b2e2ae5c9b967a0972bbc3c2597c12
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mdutils";
|
|
version = "1.6.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "didix21";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-xF6z63CjL/qSBQsm/fSTQhwpg9yJU4qrY06cjn1PbCk=";
|
|
};
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "mdutils" ];
|
|
|
|
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/${lib.removePrefix "refs/tags/" src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ azahi ];
|
|
};
|
|
}
|