at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 scipy, 7 scikit-learn, 8 matplotlib, 9 numba, 10 umap-learn, 11 cython, 12 ripser, 13 persim, 14 pillow, 15 kmapper, 16 tadasets, 17 pytest, 18 isPy27, 19}: 20 21buildPythonPackage rec { 22 pname = "scikit-tda"; 23 version = "1.1.1"; 24 format = "setuptools"; 25 disabled = isPy27; 26 27 src = fetchFromGitHub { 28 owner = "scikit-tda"; 29 repo = "scikit-tda"; 30 tag = "v${version}"; 31 sha256 = "sha256-sf7UxCFJZlIMGOgNFwoh/30U7xsBCZuJ3eumsjEelMc="; 32 }; 33 34 propagatedBuildInputs = [ 35 numpy 36 scipy 37 scikit-learn 38 matplotlib 39 numba 40 umap-learn 41 cython 42 ripser 43 persim 44 pillow 45 kmapper 46 tadasets 47 ]; 48 49 nativeCheckInputs = [ pytest ]; 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 = [ ]; 63 }; 64}