blob: 761d5575af85edea027bff622f7c18b435351ae7 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
mdformat,
mdit-py-plugins,
}:
buildPythonPackage rec {
pname = "mdformat-footnote";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "executablebooks";
repo = "mdformat-footnote";
tag = "v${version}";
hash = "sha256-QiekcxKfJGWog8rfSL6VIDHdo7rpw8ftl/dDJpVpdUg=";
};
build-system = [ flit-core ];
dependencies = [
mdformat
mdit-py-plugins
];
pythonImportsCheck = [ "mdformat_footnote" ];
meta = {
description = "Footnote format addition for mdformat";
homepage = "https://github.com/executablebooks/mdformat-footnote";
changelog = "https://github.com/executablebooks/mdformat-footnote/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aldoborrero ];
};
}
|