Something went wrong. Try again.
lol
Something went wrong. Try again.
788 B · 39 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940{ 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 ]; };}