seahub: fix PIL compatibility

Apply upstream patch to replace deprecated attributes.
This commit is contained in:
Greizgh 2023-08-15 16:42:42 +02:00
parent f1d831ab8c
commit 50b25b5cad
No known key found for this signature in database
GPG key ID: 68B0B42612A108B2

View file

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, python3
, makeWrapper
, nixosTests
@ -30,6 +31,14 @@ python.pkgs.buildPythonApplication rec {
sha256 = "sha256-7Exvm3EShb/1EqwA4wzWB9zCdv0P/ISmjKSoqtOMnqk=";
};
patches = [
(fetchpatch {
# PIL update fix
url = "https://patch-diff.githubusercontent.com/raw/haiwen/seahub/pull/5570.patch";
sha256 = "sha256-7V2aRlacJ7Qhdi9k4Bs+t/Emx+EAM/NNCI+K40bMwLA=";
})
];
dontBuild = true;
doCheck = false; # disabled because it requires a ccnet environment