Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / scikit-tda / default.nix
blobe2b6fae9aa018f40e8b376c3f27ae970ebab822a
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
20 buildPythonPackage rec {
21   pname = "scikit-tda";
22   version = "1.0.0";
23   disabled = isPy27;
25   src = fetchFromGitHub {
26     owner = "scikit-tda";
27     repo = "scikit-tda";
28     rev = "v${version}";
29     sha256 = "0yhmf5jmxywyj6l9q0rfv9r8wpdk063fvvfnb4azwwccblgz37rj";
30   };
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   ];
47   nativeCheckInputs = [
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 = [ ];
63   };