File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed
development/python-modules/mdformat-wikilink Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1461514615 githubId = 279868;
1461614616 name = "Matti Kariluoma";
1461714617 };
14618+ mattkang = {
14619+ 14620+ github = "mattkang";
14621+ githubId = 2027430;
14622+ name = "Matthew Kang";
14623+ };
1461814624 mattpolzin = {
14619146251462014626 github = "mattpolzin";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ poetry-core ,
6+ markdown-it-py ,
7+ mdformat ,
8+ pytestCheckHook ,
9+ pytest-cov-stub ,
10+ } :
11+
12+ buildPythonPackage rec {
13+ pname = "mdformat-wikilink" ;
14+ version = "0.2.0" ;
15+ pyproject = true ;
16+
17+ src = fetchFromGitHub {
18+ owner = "tmr232" ;
19+ repo = "mdformat-wikilink" ;
20+ tag = "v${ version } " ;
21+ hash = "sha256-KOPh9iZfb3GCvslQeYBgqNaOyqtWi2llkaiWE7nmcJo=" ;
22+ } ;
23+
24+ build-system = [ poetry-core ] ;
25+
26+ dependencies = [
27+ markdown-it-py
28+ mdformat
29+ ] ;
30+
31+ nativeCheckInputs = [
32+ pytestCheckHook
33+ pytest-cov-stub
34+ ] ;
35+
36+ pythonImportsCheck = [ "mdformat_wikilink" ] ;
37+
38+ meta = {
39+ description = "Mdformat plugin for ensuring that wiki-style links are preserved during formatting" ;
40+ homepage = "https://github.com/tmr232/mdformat-wikilink" ;
41+ changelog = "https://github.com/tmr232/mdformat-wikilink/releases/tag/v${ version } " ;
42+ license = lib . licenses . mit ;
43+ maintainers = with lib . maintainers ; [ mattkang ] ;
44+ } ;
45+ }
Original file line number Diff line number Diff line change @@ -8113,6 +8113,7 @@ self: super: with self; {
81138113 mdformat-simple-breaks = callPackage ../development/python-modules/mdformat-simple-breaks { };
81148114 mdformat-tables = callPackage ../development/python-modules/mdformat-tables { };
81158115 mdformat-toc = callPackage ../development/python-modules/mdformat-toc { };
8116+ mdformat-wikilink = callPackage ../development/python-modules/mdformat-wikilink { };
81168117
81178118 mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };
81188119
You can’t perform that action at this time.
0 commit comments