2022-05-06 16:24:51 +00:00
|
|
|
{ buildPythonApplication
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, pandoc-xnos
|
2022-09-19 01:58:24 +00:00
|
|
|
, setuptools
|
2022-05-06 16:24:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "pandoc-eqnos";
|
|
|
|
version = "2.5.0";
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tomduck";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-7GQdfGHhtQs6LZK+ZyMmcPSkoFfBWmATTMejMiFcS7Y=";
|
|
|
|
};
|
|
|
|
|
2022-09-19 01:58:24 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-05-06 16:24:51 +00:00
|
|
|
propagatedBuildInputs = [ pandoc-xnos ];
|
|
|
|
|
|
|
|
# Different pandoc executables are not available
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering equations and equation references";
|
|
|
|
homepage = "https://github.com/tomduck/pandoc-eqnos";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ ppenguin ];
|
|
|
|
};
|
|
|
|
}
|