Commit 35d04ead authored by Guillaume Girol's avatar Guillaume Girol Committed by Francesco Gazzetta
Browse files

python3Packages.paperwork-backend: fix build with recent scipy

parent e9efb44a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{ buildPythonPackage
, lib
, fetchFromGitLab
, fetchpatch
, pyenchant
, scikit-learn
, pypillowfight
@@ -33,6 +34,13 @@ buildPythonPackage rec {
  sourceRoot = "${src.name}/paperwork-backend";

  patches = [
    # fixes building with recent scipy
    # remove on next release
    (fetchpatch {
      url = "https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/commit/abcebfe9714644d4e259e53b10e0e9417b5b864f.patch";
      hash = "sha256-YjVpphThW5Livs+PZJZDSgJvhLSXhZ1bnlWMwfY4HTg=";
    })

    # disables a flaky test https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/issues/1035#note_1493700
    ./flaky_test.patch
  ];