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