2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cython
|
|
|
|
, lockfile
|
|
|
|
, cachecontrol
|
|
|
|
, decorator
|
2022-05-18 14:49:53 +00:00
|
|
|
, h5py
|
2020-04-24 23:36:52 +00:00
|
|
|
, ipython
|
|
|
|
, matplotlib
|
|
|
|
, natsort
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, scipy
|
|
|
|
, hdmedians
|
2021-05-20 23:08:51 +00:00
|
|
|
, scikit-learn
|
2020-04-24 23:36:52 +00:00
|
|
|
, coverage
|
|
|
|
, python
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.5.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "scikit-bio";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-euBE3IvuIxkAJIrcOoZZB352FA1WrJ9CvQH7eYEBSRA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
nativeBuildInputs = [ cython ];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ coverage ];
|
2022-05-18 14:49:53 +00:00
|
|
|
propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy h5py hdmedians scikit-learn ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# cython package not included for tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m skbio.test
|
|
|
|
'';
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
pythonImportsCheck = [ "skbio" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://scikit-bio.org/";
|
|
|
|
description = "Data structures, algorithms and educational resources for bioinformatics";
|
|
|
|
license = licenses.bsd3;
|
2021-05-28 09:39:13 +00:00
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|