depot/third_party/nixpkgs/pkgs/tools/misc/pandoc-imagine/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
698 B
Nix

{ fetchFromGitHub, buildPythonApplication, lib, pandocfilters, six }:
buildPythonApplication rec {
pname = "pandoc-imagine";
version = "0.1.6";
src = fetchFromGitHub {
repo = "imagine";
owner = "hertogp";
rev = version;
sha256 = "1wpnckc7qyrf6ga5xhr6gv38k1anpy9nx888n7n3rh6nixzcz2dw";
};
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 ];
};
}