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,6 +1,7 @@
|
||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, fetchpatch
|
||||||
, pyenchant
|
, pyenchant
|
||||||
, scikit-learn
|
, scikit-learn
|
||||||
, pypillowfight
|
, pypillowfight
|
||||||
|
@ -33,6 +34,13 @@ buildPythonPackage rec {
|
||||||
sourceRoot = "${src.name}/paperwork-backend";
|
sourceRoot = "${src.name}/paperwork-backend";
|
||||||
|
|
||||||
patches = [
|
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
|
# disables a flaky test https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/issues/1035#note_1493700
|
||||||
./flaky_test.patch
|
./flaky_test.patch
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user