Unverified Commit 50b25b5c authored by Greizgh's avatar Greizgh
Browse files

seahub: fix PIL compatibility

Apply upstream patch to replace deprecated attributes.
parent f1d831ab
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ 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