python3Packages.pynndescent: Fix skbuild 1.2.0 compat
This commit is contained in:
parent
0cee035e07
commit
6d0a0fda79
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, joblib
|
, joblib
|
||||||
, llvmlite
|
, llvmlite
|
||||||
|
@ -23,6 +24,18 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-p8VSVpv2BKEB/VS7odJ8EjieBllF3uOmd3pRjGOkbys=";
|
hash = "sha256-p8VSVpv2BKEB/VS7odJ8EjieBllF3uOmd3pRjGOkbys=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix sklearn 1.2.0 compat; https://github.com/lmcinnes/pynndescent/issues/207
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/lmcinnes/pynndescent/commit/00444be2107b71169b853847e7b334623c58a4e3.patch";
|
||||||
|
hash = "sha256-mbe01BwroS5q6hENsj3NejmGGhmk2IeX4LD6Iq6PR0c=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/lmcinnes/pynndescent/commit/e56b92776a4a05f2dabb80d25479bd37e7ebd88e.patch";
|
||||||
|
hash = "sha256-zVTaW4syGEHh2HAGPyBN3YXqUGe55v/LxKLX/zjXT5Y=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
joblib
|
joblib
|
||||||
llvmlite
|
llvmlite
|
||||||
|
|
Loading…
Reference in a new issue