2025-02-15 13:59:50 -06:00

48 lines
1002 B
Nix

{
python3Packages,
fetchFromGitHub,
nix-update-script,
callPackage,
lib,
}:
python3Packages.buildPythonApplication rec {
pname = "pandoc-mustache";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "michaelstepner";
repo = "pandoc-mustache";
tag = "${version}";
hash = "sha256-lgbQV4X2N4VuIEtjeSA542yqGdIs5QQ7+bdCoy/aloE=";
};
build-system = with python3Packages; [
setuptools
pyparsing
];
dependencies = with python3Packages; [
panflute
pystache
pyyaml
future
];
passthru = {
updateScript = nix-update-script { };
tests = callPackage ./tests { };
};
meta = {
description = "Pandoc Mustache Filter";
homepage = "https://github.com/michaelstepner/pandoc-mustache";
changelog = "https://github.com/michaelstepner/pandoc-mustache/releases/tag/${version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ averdow ];
license = with lib.licenses; [
cc-by-10
];
};
}