2019-04-17 12:41:00 +00:00
|
|
|
{ fetchFromGitHub, buildPythonApplication, lib, pandocfilters, six }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "pandoc-imagine";
|
2019-12-05 12:12:59 +00:00
|
|
|
version = "0.1.6";
|
2019-04-17 12:41:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "imagine";
|
|
|
|
owner = "hertogp";
|
2019-12-05 12:12:59 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1wpnckc7qyrf6ga5xhr6gv38k1anpy9nx888n7n3rh6nixzcz2dw";
|
2019-04-17 12:41:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|