1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 15:47:28 +00:00
nixpkgs/pkgs/tools/text/markdown-pp/default.nix
Zack Grannan c17decb15c markdown-pp: init at 1.4 (#43525)
* markdown-pp: init at 1.3

* Increment version, fix tests
2018-07-17 13:24:13 +02:00

25 lines
746 B
Nix

{ 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 ];
};
}