blob: cfd468d9cc6e1206eccda953831f462f7ce172f1 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, mdformat
, mdit-py-plugins
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "mdformat-tables";
version = "0.4.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "executablebooks";
repo = pname;
rev = "v${version}";
hash = "sha256-Q61GmaRxjxJh9GjyR8QCZOH0njFUtAWihZ9lFQJ2nQQ=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
mdformat
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mdformat_tables"
];
meta = with lib; {
description = "An mdformat plugin for rendering tables";
homepage = "https://github.com/executablebooks/mdformat-tables";
license = licenses.mit;
maintainers = with maintainers; [ aldoborrero polarmutex ];
};
}
|