nixpkgs/pkgs/development/python-modules/gpy/default.nix

31 lines
799 B
Nix
Raw Normal View History

2017-08-11 19:08:22 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, numpy, scipy, six, paramz, nose, matplotlib, cython }:
buildPythonPackage rec {
pname = "GPy";
2019-05-30 07:49:50 +01:00
version = "1.9.8";
2017-08-11 19:08:22 +01:00
src = fetchPypi {
inherit pname version;
2019-05-30 07:49:50 +01:00
sha256 = "33a55bb99fe5c7cdd8df4f8e220e3b87574afde49f5654b3ef7c0445018af4a0";
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 ];
};
}