blob: f479c221b65f5390b3008dff521913e18d3197e6 (
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
|
{ fetchFromGitHub, pythonPackages, stdenv }:
with pythonPackages;
buildPythonApplication rec {
pname = "MarkdownPP";
version = "1.4";
propagatedBuildInputs = [ pillow watchdog ];
checkPhase = ''
cd test
PATH=$out/bin:$PATH ${python}/bin/${python.executable} test.py
'';
src = fetchFromGitHub {
owner = "jreese";
repo = "markdown-pp";
rev = "v${version}";
sha256 = "1xmc0cxvvf6jzr7p4f0hm8icysrd44sy2kgff9b99lr1agwkmysq";
};
meta = with stdenv.lib; {
description = "Preprocessor for Markdown files to generate a table of contents and other documentation needs";
license = licenses.mit;
homepage = "https://github.com/jreese/markdown-pp";
maintainers = with maintainers; [ zgrannan ];
};
}
|