uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
57
pkgs/development/python-modules/pynndescent/default.nix
Normal file
57
pkgs/development/python-modules/pynndescent/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, joblib
|
||||
, llvmlite
|
||||
, numba
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynndescent";
|
||||
version = "0.5.7";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7LOVJV+janSLWHC0ugMA6g99qLGWSGS47dYld6hN/X0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
joblib
|
||||
llvmlite
|
||||
numba
|
||||
scikit-learn
|
||||
scipy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# numpy.core._exceptions._UFuncNoLoopError
|
||||
"test_sparse_nn_descent_query_accuracy_angular"
|
||||
"test_nn_descent_query_accuracy_angular"
|
||||
"test_alternative_distances"
|
||||
# scipy: ValueError: Unknown Distance Metric: wminkowski
|
||||
# https://github.com/scikit-learn/scikit-learn/pull/21741
|
||||
"test_weighted_minkowski"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pynndescent"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Nearest Neighbor Descent";
|
||||
homepage = "https://github.com/lmcinnes/pynndescent";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue