depot/pkgs/tools/misc/pandoc-imagine/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

29 lines
734 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 ];
mainProgram = "pandoc-imagine";
};
}