Commit d55690cb authored by tu-maurice's avatar tu-maurice
Browse files

lektor: fix build

A test failed with the upgrade of a newer Pillow version.
This patch from upstream fixes this.
parent 3013234a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, fetchFromGitHub
, fetchNpmDeps
, fetchPypi
, fetchpatch
, nodejs
, npmHooks
, python3
@@ -38,6 +39,16 @@ python.pkgs.buildPythonApplication rec {
    hash = "sha256-y0/fYuiIB/O5tsYKjzOPnCafOIZCn4Z5OITPMcnHd/M=";
  };

  patches = [
    # Fixes test_thumbnail.py with Pillow 11.0
    # see lektor/lektor #1202
    (fetchpatch {
      name = "lektor-pillow-11.patch";
      url = "https://github.com/lektor/lektor/commit/af99ea4265e05227d7452977949475196a58edfa.patch";
      hash = "sha256-PmSmX9Ku5rAzN2FzLwvXYeUqN683opLRt9J35w56cfg=";
    })
  ];

  npmDeps = fetchNpmDeps {
    src = "${src}/${npmRoot}";
    hash = "sha256-LXe5/u4nAGig8RSu6r8Qsr3p3Od8eoMxukW8Z4HkJ44=";