1{ stdenv, buildPythonPackage, fetchPypi
2, numpy, scipy, six, paramz, nose, matplotlib, cython }:
3
4buildPythonPackage rec {
5 pname = "GPy";
6 version = "1.9.9";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "04faf0c24eacc4dea60727c50a48a07ddf9b5751a3b73c382105e2a31657c7ed";
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}