Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / scikit-tda / default.nix
blobf6d573573b9c4afea7e5dfbe4f5d3aacbc9b055d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , numpy
5 , scipy
6 , scikitlearn
7 , matplotlib
8 , numba
9 , umap-learn
10 , cython
11 , ripser
12 , persim
13 , pillow
14 , kmapper
15 , tadasets
16 , pytest
17 , isPy27
20 buildPythonPackage rec {
21   pname = "scikit-tda";
22   version = "0.0.4";
23   disabled = isPy27;
25   src = fetchFromGitHub {
26     owner = "scikit-tda";
27     repo = "scikit-tda";
28     rev = version;
29     sha256 = "0a90k6i9fkmc9gf250b4fidx2fzd2qrn025l74mjk51fvf23q13a";
30   };
32   propagatedBuildInputs = [
33     numpy
34     scipy
35     scikitlearn
36     matplotlib
37     numba
38     umap-learn
39     cython
40     ripser
41     persim
42     pillow
43     kmapper
44     tadasets
45   ];
47   checkInputs = [
48     pytest
49   ];
51   checkPhase = ''
52     pytest test
53   '';
55   # tests will be included in next release
56   doCheck = false;
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   };