1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, scipy 6, scikit-learn 7, matplotlib 8, numba 9, umap-learn 10, cython 11, ripser 12, persim 13, pillow 14, kmapper 15, tadasets 16, pytest 17, isPy27 18}: 19 20buildPythonPackage rec { 21 pname = "scikit-tda"; 22 version = "1.0.0"; 23 disabled = isPy27; 24 25 src = fetchFromGitHub { 26 owner = "scikit-tda"; 27 repo = "scikit-tda"; 28 rev = "v${version}"; 29 sha256 = "0yhmf5jmxywyj6l9q0rfv9r8wpdk063fvvfnb4azwwccblgz37rj"; 30 }; 31 32 propagatedBuildInputs = [ 33 numpy 34 scipy 35 scikit-learn 36 matplotlib 37 numba 38 umap-learn 39 cython 40 ripser 41 persim 42 pillow 43 kmapper 44 tadasets 45 ]; 46 47 checkInputs = [ 48 pytest 49 ]; 50 51 checkPhase = '' 52 pytest test 53 ''; 54 55 # tests will be included in next release 56 doCheck = false; 57 58 meta = with lib; { 59 description = "Topological Data Analysis for humans"; 60 homepage = "https://github.com/scikit-tda/scikit-tda"; 61 license = licenses.mit; 62 maintainers = [ maintainers.costrouc ]; 63 }; 64}