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
69
pkgs/development/python-modules/umap-learn/default.nix
Normal file
69
pkgs/development/python-modules/umap-learn/default.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, keras
|
||||
, numba
|
||||
, numpy
|
||||
, pynndescent
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, tensorflow
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "umap-learn";
|
||||
version = "0.5.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lmcinnes";
|
||||
repo = "umap";
|
||||
rev = version;
|
||||
hash = "sha256-S2+k7Ec4AxsN6d0GUGnU81oLnBgmlZp8OmUFCNaUJYw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numba
|
||||
numpy
|
||||
pynndescent
|
||||
scikit-learn
|
||||
scipy
|
||||
tqdm
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
keras
|
||||
pytestCheckHook
|
||||
tensorflow
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Plot functionality requires additional packages.
|
||||
# These test also fail with 'RuntimeError: cannot cache function' error.
|
||||
"test_umap_plot_testability"
|
||||
"test_plot_runs_at_all"
|
||||
|
||||
# Flaky test. Fails with AssertionError sometimes.
|
||||
"test_sparse_hellinger"
|
||||
"test_densmap_trustworthiness_on_iris_supervised"
|
||||
|
||||
# tensorflow maybe incompatible? https://github.com/lmcinnes/umap/issues/821
|
||||
"test_save_load"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Uniform Manifold Approximation and Projection";
|
||||
homepage = "https://github.com/lmcinnes/umap";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue