Unverified Commit c6ca98b3 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

lektor: fix build (#356581)

parents 9a43c5a3 d55690cb
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=";