504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
36 lines
828 B
Nix
36 lines
828 B
Nix
{ buildPythonApplication
|
|
, fetchFromGitHub
|
|
, lib
|
|
, pandoc-xnos
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pandoc-tablenos";
|
|
version = "2.3.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomduck";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-FwzsRziY3PoySo9hIFuLw6tOO9oQij6oQEyoY8HgnII=";
|
|
};
|
|
|
|
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 tables and table references";
|
|
homepage = "https://github.com/tomduck/pandoc-tablenos";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ ppenguin ];
|
|
mainProgram = "pandoc-tablenos";
|
|
};
|
|
}
|