seahub: fix PIL compatibility
Apply upstream patch to replace deprecated attributes.
This commit is contained in:
parent
f1d831ab8c
commit
50b25b5cad
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, python3
|
, python3
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
@ -30,6 +31,14 @@ python.pkgs.buildPythonApplication rec {
|
||||||
sha256 = "sha256-7Exvm3EShb/1EqwA4wzWB9zCdv0P/ISmjKSoqtOMnqk=";
|
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;
|
dontBuild = true;
|
||||||
|
|
||||||
doCheck = false; # disabled because it requires a ccnet environment
|
doCheck = false; # disabled because it requires a ccnet environment
|
||||||
|
|
Loading…
Reference in a new issue