mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
lektor: fix build
A test failed with the upgrade of a newer Pillow version.
This patch from upstream fixes this.
(cherry picked from commit d55690cba4
)
This commit is contained in:
parent
7937932921
commit
de88bd44a6
@ -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=";
|
||||
|
Loading…
Reference in New Issue
Block a user