Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
36 lines
825 B
Nix
36 lines
825 B
Nix
{ buildPythonApplication
|
|
, fetchFromGitHub
|
|
, lib
|
|
, pandoc-xnos
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pandoc-eqnos";
|
|
version = "2.5.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomduck";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-7GQdfGHhtQs6LZK+ZyMmcPSkoFfBWmATTMejMiFcS7Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
mainProgram = "pandoc-eqnos";
|
|
};
|
|
}
|