blob: 01a5a327accb612b2f8e63f2ffbbd4159501c13b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
mdformat,
mdformat-footnote,
mdformat-frontmatter,
mdformat-tables,
mdit-py-plugins,
ruamel-yaml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mdformat-myst";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "executablebooks";
repo = "mdformat-myst";
tag = "v${version}";
hash = "sha256-Ty9QOsOTCNfhdLVuLfD0x63OFfHhODr14i/dhN+Sqnc=";
};
build-system = [ flit-core ];
dependencies = [
mdformat
mdformat-footnote
mdformat-frontmatter
mdformat-tables
mdit-py-plugins
ruamel-yaml
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mdformat_myst" ];
meta = {
description = "Mdformat plugin for MyST compatibility";
homepage = "https://github.com/executablebooks/mdformat-myst";
changelog = "https://github.com/executablebooks/mdformat-myst/releases/tag/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mattkang ];
};
}
|