diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index fcec55ddfe30..b8eb7d065ae1 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -463,10 +463,6 @@ with haskellLib; # https://github.com/input-output-hk/io-sim/issues/248 io-sim = dontCheck super.io-sim; - # Test suites broken by hakyll 4.16, but lib is still okay - # https://github.com/LaurentRDC/hakyll-images/issues/14 - hakyll-images = dontCheck super.hakyll-images; - # Too strict upper bound on hakyll (<4.17) # https://gitlab.com/lysxia/hakyll-alectryon/-/work_items/2 hakyll-alectryon = doJailbreak super.hakyll-alectryon; diff --git a/pkgs/development/haskell-modules/replacements-by-name/hakyll-images.nix b/pkgs/development/haskell-modules/replacements-by-name/hakyll-images.nix new file mode 100644 index 000000000000..caec5dbf3e8f --- /dev/null +++ b/pkgs/development/haskell-modules/replacements-by-name/hakyll-images.nix @@ -0,0 +1,50 @@ +{ + mkDerivation, + base, + binary, + bytestring, + containers, + directory, + filepath, + hakyll, + HUnit-approx, + JuicyPixels, + JuicyPixels-extra, + lib, + tasty, + tasty-hunit, + vector, +}: +mkDerivation { + pname = "hakyll-images"; + version = "1.3.1"; + sha256 = "a4f55f08b10671795beab1e3d8496651e3c0a08799d26f36b6357480753e85a8"; + enableSeparateDataOutput = true; + libraryHaskellDepends = [ + base + binary + bytestring + hakyll + JuicyPixels + JuicyPixels-extra + vector + ]; + testHaskellDepends = [ + base + binary + bytestring + containers + directory + filepath + hakyll + HUnit-approx + JuicyPixels + JuicyPixels-extra + tasty + tasty-hunit + vector + ]; + homepage = "https://github.com/LaurentRDC/hakyll-images#readme"; + description = "Hakyll utilities to work with images"; + license = lib.licensesSpdx."BSD-3-Clause"; +}