Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
779 B
Nix
40 lines
779 B
Nix
{
|
|
fetchFromGitHub,
|
|
buildPythonApplication,
|
|
lib,
|
|
pandocfilters,
|
|
six,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pandoc-imagine";
|
|
version = "0.1.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "imagine";
|
|
owner = "hertogp";
|
|
rev = version;
|
|
sha256 = "sha256-IJAXrJakKjROF2xi9dsLvGzyGIyB+GDnx/Z7BRlwSqc=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|