Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
884 B
Nix
42 lines
884 B
Nix
{
|
|
buildPythonApplication,
|
|
fetchFromGitHub,
|
|
lib,
|
|
pandoc-xnos,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pandoc-secnos";
|
|
version = "2.2.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomduck";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-J9KLZvioYM3Pl2UXjrEgd4PuLTwCLYy9SsJIzgw5/jU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [ pandoc-xnos ];
|
|
|
|
patches = [
|
|
./patch/fix-manifest.patch
|
|
];
|
|
|
|
# Different pandoc executables are not available
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering sections and section references";
|
|
homepage = "https://github.com/tomduck/pandoc-secnos";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ ppenguin ];
|
|
mainProgram = "pandoc-secnos";
|
|
};
|
|
}
|