nixpkgs/pkgs/development/python-modules/mdformat-toc/default.nix
Martin Weinelt cf60ddf8b3 python3Packages.mdformat-toc: 0.3.0 -> 0.5.0
This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:31 +01:00

40 lines
910 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
mdformat,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mdformat-toc";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "hukkin";
repo = "mdformat-toc";
tag = version;
hash = "sha256-Rj1lp5Ub+UriOuE896tywN4myovna2RLYO3LRa96FCM=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ mdformat ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mdformat_toc" ];
meta = {
description = "Mdformat plugin to generate a table of contents";
homepage = "https://github.com/hukkin/mdformat-toc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
aldoborrero
polarmutex
];
broken = true; # broken test due to changes in mdformat; compare https://github.com/KyleKing/mdformat-admon/issues/25
};
}