Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 780 B view raw
1{ 2 fetchFromGitHub, 3 buildPythonApplication, 4 lib, 5 pandocfilters, 6 six, 7}: 8 9buildPythonApplication rec { 10 pname = "pandoc-imagine"; 11 version = "0.1.6"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 repo = "imagine"; 16 owner = "hertogp"; 17 rev = version; 18 sha256 = "1wpnckc7qyrf6ga5xhr6gv38k1anpy9nx888n7n3rh6nixzcz2dw"; 19 }; 20 21 propagatedBuildInputs = [ 22 pandocfilters 23 six 24 ]; 25 26 # No tests in archive 27 doCheck = false; 28 29 meta = with lib; { 30 homepage = src.meta.homepage; 31 description = '' 32 A pandoc filter that will turn code blocks tagged with certain classes 33 into images or ASCII art 34 ''; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ synthetica ]; 37 mainProgram = "pandoc-imagine"; 38 }; 39}