Files
nixpkgs/pkgs/development/python-modules/mdformat-toc/default.nix
T
sudoforge 9dd8629934 python3Packages.mdformat-toc: remove broken attribute
This was set as broken due to a test failure in an mdformat plugin [0],
which has now been fixed.

[0]: https://github.com/KyleKing/mdformat-admon/issues/25
2026-03-07 18:41:19 -08:00

40 lines
788 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
];
};
}