python3Packages.paperwork-backend: fix build with recent scipy
fixes https://github.com/NixOS/nixpkgs/issues/305476
This commit is contained in:
parent
e9efb44aa0
commit
35d04eadef
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ 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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue