1{ lib
2, buildPythonPackage
3, fetchPypi
4, cython
5, lockfile
6, cachecontrol
7, decorator
8, h5py
9, ipython
10, matplotlib
11, natsort
12, numpy
13, pandas
14, scipy
15, hdmedians
16, scikit-learn
17, coverage
18, python
19, isPy3k
20}:
21
22buildPythonPackage rec {
23 version = "0.5.9";
24 pname = "scikit-bio";
25 disabled = !isPy3k;
26
27 src = fetchPypi {
28 inherit pname version;
29 hash = "sha256-euBE3IvuIxkAJIrcOoZZB352FA1WrJ9CvQH7eYEBSRA=";
30 };
31
32 nativeBuildInputs = [ cython ];
33 nativeCheckInputs = [ coverage ];
34 propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy h5py hdmedians scikit-learn ];
35
36 # cython package not included for tests
37 doCheck = false;
38
39 checkPhase = ''
40 ${python.interpreter} -m skbio.test
41 '';
42
43 pythonImportsCheck = [ "skbio" ];
44
45 meta = with lib; {
46 homepage = "http://scikit-bio.org/";
47 description = "Data structures, algorithms and educational resources for bioinformatics";
48 license = licenses.bsd3;
49 platforms = [ "x86_64-linux" "x86_64-darwin" ];
50 maintainers = [ ];
51 };
52}