1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, markdown
5}:
6
7buildPythonPackage rec {
8 pname = "markdown-include";
9 version = "0.7.0";
10 format = "setuptools";
11
12 # only wheel on pypi
13 src = fetchFromGitHub {
14 owner = "cmacmackin";
15 repo = pname;
16 rev = "v${version}";
17 hash = "sha256-2pC0K/Z5l7q6sx4FSM4Pi1/5bt1wLZsqOmcbnE47rVs=";
18 };
19
20 propagatedBuildInputs = [
21 markdown
22 ];
23
24 pythonImportsCheck = [
25 "markdown_include"
26 ];
27
28 doCheck = false; # no tests
29
30 meta = with lib; {
31 description = "Extension to Python-Markdown which provides an include function";
32 homepage = "https://github.com/cmacmackin/markdown-include";
33 license = licenses.gpl3Plus;
34 maintainers = with maintainers; [ hexa ];
35 };
36}