3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/umap-learn/default.nix
R. RyanTM 91eb09c1b3 python37Packages.umap-learn: 0.3.9 -> 0.3.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-umap-learn/versions
2019-09-28 11:50:09 -07:00

50 lines
877 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, numpy
, scikitlearn
, scipy
, numba
}:
buildPythonPackage rec {
pname = "umap-learn";
version = "0.3.10";
src = fetchFromGitHub {
owner = "lmcinnes";
repo = "umap";
rev = version;
sha256 = "0nck5va5km7qkbrhn15dsn0p2mms9kc641lcypy7l8haqgm44h8x";
};
checkInputs = [
nose
];
propagatedBuildInputs = [
numpy
scikitlearn
scipy
numba
];
postConfigure = ''
substituteInPlace umap/tests/test_umap.py \
--replace "def test_umap_transform_on_iris()" "@SkipTest
def test_umap_transform_on_iris()"
'';
checkPhase = ''
nosetests -s umap
'';
meta = with lib; {
description = "Uniform Manifold Approximation and Projection";
homepage = http://github.com/lmcinnes/umap;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}