haskellPackages.pandoc-crossref: pin to 0.3.21

This commit is contained in:
sternenseemann
2025-11-02 22:58:47 +01:00
parent 89f0f73625
commit 8a78846761
3 changed files with 102 additions and 0 deletions
@@ -812,6 +812,8 @@ with haskellLib;
}) super.xml-picklers;
pandoc-crossref = lib.pipe super.pandoc-crossref [
# https://github.com/lierdakil/pandoc-crossref/issues/492
doJailbreak
# We are still using pandoc == 3.7.*
(appendPatch (
lib.warnIf (lib.versionAtLeast self.pandoc.version "3.8")
@@ -40,6 +40,9 @@ default-package-overrides:
- liquidhaskell-boot == 0.9.10.*
# Needs to match microlens == 0.4.* in Stackage LTS 24
- microlens-pro < 0.2.0.4
# We currently use pandoc-crossref with a patch to revert it to pandoc == 3.7.*,
# this no longer works with later versions.
- pandoc-crossref == 0.3.21
# keep-sorted end
# keep-sorted start skip_lines=1 case=no numeric=yes
+97
View File
@@ -501119,6 +501119,102 @@ self: {
) { };
pandoc-crossref = callPackage (
{
mkDerivation,
base,
containers,
criterion,
data-default,
deepseq,
directory,
filepath,
gitrev,
hspec,
microlens,
microlens-ghc,
microlens-mtl,
microlens-th,
mtl,
open-browser,
optparse-applicative,
pandoc,
pandoc-cli,
pandoc-types,
syb,
template-haskell,
temporary,
text,
utility-ht,
}:
mkDerivation {
pname = "pandoc-crossref";
version = "0.3.21";
sha256 = "1srfkh987jx3ha8p5yrvy4pxkkypcajb4wvzbnf8sbd4wc2vichh";
revision = "2";
editedCabalFile = "1j9s9r6xmw8wq48y73q6w87v92wc5p9va38k5csy28hyix9xf32i";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base
containers
data-default
directory
filepath
microlens
microlens-ghc
microlens-mtl
microlens-th
mtl
pandoc
pandoc-types
syb
template-haskell
text
utility-ht
];
executableHaskellDepends = [
base
deepseq
gitrev
open-browser
optparse-applicative
pandoc
pandoc-types
template-haskell
temporary
text
];
testHaskellDepends = [
base
containers
data-default
directory
filepath
hspec
microlens
microlens-mtl
mtl
pandoc
pandoc-types
text
];
testToolDepends = [ pandoc-cli ];
benchmarkHaskellDepends = [
base
criterion
pandoc
pandoc-types
text
];
doHaddock = false;
description = "Pandoc filter for cross-references";
license = lib.licenses.gpl2Only;
mainProgram = "pandoc-crossref";
}
) { };
pandoc-crossref_0_3_22 = callPackage (
{
mkDerivation,
base,
@@ -501208,6 +501304,7 @@ self: {
doHaddock = false;
description = "Pandoc filter for cross-references";
license = lib.licenses.gpl2Only;
hydraPlatforms = lib.platforms.none;
mainProgram = "pandoc-crossref";
}
) { };