summary refs log blame commit diff
path: root/pkgs/tools/misc/pandoc-imagine/default.nix
blob: 811e44a6ce8eb90a68424e5052002e1f7268f35b (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                     
                                                     

















                                                                            
{ fetchFromGitHub, buildPythonApplication, lib, pandocfilters, six }:

buildPythonApplication rec {
  pname = "pandoc-imagine";
  version = "unstable-2018-11-19";

  src = fetchFromGitHub {
    repo = "imagine";
    owner = "hertogp";
    rev = "cc9be85155666c2d12d47a71690ba618cea1fac2";
    sha256 = "0iksh9081g488yfjzd24bz4lm1nrrjamph1vynx3imrcfgyq7nsb";
  };

  propagatedBuildInputs = [ pandocfilters six ];

  # No tests in archive
  doCheck = false;

  meta = with lib; {
    homepage = src.meta.homepage;
    description = ''
      A pandoc filter that will turn code blocks tagged with certain classes
      into images or ASCII art
    '';
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ synthetica ];
  };
}