2017-08-11 19:08:22 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, numpy, scipy, six, paramz, nose, matplotlib, cython }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GPy";
|
2019-10-24 07:47:34 +01:00
|
|
|
version = "1.9.9";
|
2017-08-11 19:08:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:34 +01:00
|
|
|
sha256 = "04faf0c24eacc4dea60727c50a48a07ddf9b5751a3b73c382105e2a31657c7ed";
|
2017-08-11 19:08:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# running tests produces "ImportError: cannot import name 'linalg_cython'"
|
|
|
|
# even though Cython has run
|
|
|
|
checkPhase = "nosetests -d";
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
buildInputs = [ cython ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy six paramz matplotlib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Gaussian process framework in Python";
|
|
|
|
homepage = https://sheffieldml.github.io/GPy;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|