2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-11 01:21:58 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cython
|
|
|
|
, lockfile
|
|
|
|
, cachecontrol
|
|
|
|
, decorator
|
|
|
|
, ipython
|
|
|
|
, matplotlib
|
|
|
|
, natsort
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, scipy
|
|
|
|
, hdmedians
|
|
|
|
, scikitlearn
|
|
|
|
, coverage
|
|
|
|
, python
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-09 10:01:59 +00:00
|
|
|
version = "0.5.6";
|
2018-10-11 01:21:58 +00:00
|
|
|
pname = "scikit-bio";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 10:01:59 +00:00
|
|
|
sha256 = "48b73ec53ce0ff2c2e3e05f3cfcf93527c1525a8d3e9dd4ae317b4219c37f0ea";
|
2018-10-11 01:21:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cython ];
|
|
|
|
checkInputs = [ coverage ];
|
|
|
|
propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy hdmedians scikitlearn ];
|
|
|
|
|
|
|
|
# cython package not included for tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m skbio.test
|
|
|
|
'';
|
|
|
|
|
2021-02-15 22:33:12 +00:00
|
|
|
pythonImportsCheck = [ "skbio" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://scikit-bio.org/";
|
2018-10-11 01:21:58 +00:00
|
|
|
description = "Data structures, algorithms and educational resources for bioinformatics";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|