Unverified Commit b02310ae authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.mdformat-wikilink: init at 0.2.0 (#331006)

parents 975ebd14 0034d8f3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -14615,6 +14615,12 @@
    githubId = 279868;
    name = "Matti Kariluoma";
  };
  mattkang = {
    email = "wavy-wisdom-volley@duck.com";
    github = "mattkang";
    githubId = 2027430;
    name = "Matthew Kang";
  };
  mattpolzin = {
    email = "matt.polzin@gmail.com";
    github = "mattpolzin";
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  markdown-it-py,
  mdformat,
  pytestCheckHook,
  pytest-cov-stub,
}:

buildPythonPackage rec {
  pname = "mdformat-wikilink";
  version = "0.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tmr232";
    repo = "mdformat-wikilink";
    tag = "v${version}";
    hash = "sha256-KOPh9iZfb3GCvslQeYBgqNaOyqtWi2llkaiWE7nmcJo=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    markdown-it-py
    mdformat
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov-stub
  ];

  pythonImportsCheck = [ "mdformat_wikilink" ];

  meta = {
    description = "Mdformat plugin for ensuring that wiki-style links are preserved during formatting";
    homepage = "https://github.com/tmr232/mdformat-wikilink";
    changelog = "https://github.com/tmr232/mdformat-wikilink/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ mattkang ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -8113,6 +8113,7 @@ self: super: with self; {
  mdformat-simple-breaks = callPackage ../development/python-modules/mdformat-simple-breaks { };
  mdformat-tables = callPackage ../development/python-modules/mdformat-tables { };
  mdformat-toc = callPackage ../development/python-modules/mdformat-toc { };
  mdformat-wikilink = callPackage ../development/python-modules/mdformat-wikilink { };
  mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };