2017-08-11 19:08:22 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, numpy, scipy, six, paramz, nose, matplotlib, cython }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GPy";
|
2017-12-30 11:23:17 +00:00
|
|
|
version = "1.8.5";
|
2017-08-11 19:08:22 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:23:17 +00:00
|
|
|
sha256 = "1562e34629192f209273f454e41614a127c6ef04144cd0eb5992d484721d55d3";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|