1{ stdenv, buildPythonPackage, fetchPypi
2, numpy, scipy, six, paramz, nose, matplotlib, cython }:
3
4buildPythonPackage rec {
5 pname = "GPy";
6 version = "1.9.8";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "33a55bb99fe5c7cdd8df4f8e220e3b87574afde49f5654b3ef7c0445018af4a0";
11 };
12
13 # running tests produces "ImportError: cannot import name 'linalg_cython'"
14 # even though Cython has run
15 checkPhase = "nosetests -d";
16 doCheck = false;
17
18 checkInputs = [ nose ];
19
20 buildInputs = [ cython ];
21
22 propagatedBuildInputs = [ numpy scipy six paramz matplotlib ];
23
24 meta = with stdenv.lib; {
25 description = "Gaussian process framework in Python";
26 homepage = https://sheffieldml.github.io/GPy;
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ bcdarwin ];
29 };
30}