nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09-alpha 24 lines 748 B view raw
1{ fetchFromGitHub, pythonPackages, stdenv }: 2 3with pythonPackages; 4buildPythonApplication rec { 5 pname = "MarkdownPP"; 6 version = "1.5.1"; 7 propagatedBuildInputs = [ pillow watchdog ]; 8 checkPhase = '' 9 cd test 10 PATH=$out/bin:$PATH ${python}/bin/${python.executable} test.py 11 ''; 12 src = fetchFromGitHub { 13 owner = "jreese"; 14 repo = "markdown-pp"; 15 rev = "v${version}"; 16 sha256 = "180i5wn9z6vdk2k2bh8345z3g80hj7zf5s2pq0h7k9vaxqpp7avc"; 17 }; 18 meta = with stdenv.lib; { 19 description = "Preprocessor for Markdown files to generate a table of contents and other documentation needs"; 20 license = licenses.mit; 21 homepage = "https://github.com/jreese/markdown-pp"; 22 maintainers = with maintainers; [ zgrannan ]; 23 }; 24}