mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 12:39:54 +03:00
Merge pull request #309734 from annaleeleaves/gensim
python311Packages.gensim: unbreak with upstream patch
This commit is contained in:
commit
390f1c2c89
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, mock
|
||||
, numpy
|
||||
, scipy
|
||||
@ -24,6 +25,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-maxq9v/UBoLnAVXtn5Lsv0OE1Z+1CvEg00PqXuGzCKs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/piskvorky/gensim/pull/3524
|
||||
# Import deprecated scipy.linalg.triu from numpy.triu. remove on next update
|
||||
(fetchpatch {
|
||||
name = "scipi-linalg-triu-fix.patch";
|
||||
url = "https://github.com/piskvorky/gensim/commit/ad68ee3f105fc37cf8db333bfb837fe889ff74ac.patch";
|
||||
hash = "sha256-Ij6HvVD8M2amzcjihu5bo8Lk0iCPl3iIq0lcOnI6G2s=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user