mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 20:19:16 +03:00
Merge pull request #326672 from Sigmanificient/pandoc-latex-environment
This commit is contained in:
commit
78938ef725
@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
poetry-dynamic-versioning,
|
||||
panflute,
|
||||
pytestCheckHook,
|
||||
pandoc,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pandoc-latex-environment";
|
||||
version = "1.1.6.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chdemko";
|
||||
repo = "pandoc-latex-environment";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-DLuLFCKP5ip3duHlGAZnFip7GCDzWK91bka3DrknQSA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
poetry-dynamic-versioning
|
||||
];
|
||||
dependencies = [ panflute ];
|
||||
|
||||
pythonImportsCheck = [ "pandoc_latex_environment" ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pandoc
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Pandoc filter for adding LaTeX environment on specific div";
|
||||
homepage = "https://github.com/chdemko/pandoc-latex-environment";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||
};
|
||||
}
|
@ -9668,6 +9668,8 @@ self: super: with self; {
|
||||
|
||||
pandoc-attributes = callPackage ../development/python-modules/pandoc-attributes { };
|
||||
|
||||
pandoc-latex-environment = callPackage ../development/python-modules/pandoc-latex-environment { };
|
||||
|
||||
pandoc-xnos = callPackage ../development/python-modules/pandoc-xnos { };
|
||||
|
||||
pandocfilters = callPackage ../development/python-modules/pandocfilters { };
|
||||
|
Loading…
Reference in New Issue
Block a user