depot/third_party/nixpkgs/pkgs/development/python-modules/gpy/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
801 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, numpy, scipy, six, paramz, nose, matplotlib, cython }:
buildPythonPackage rec {
pname = "GPy";
version = "1.9.9";
src = fetchPypi {
inherit pname version;
sha256 = "04faf0c24eacc4dea60727c50a48a07ddf9b5751a3b73c382105e2a31657c7ed";
};
# 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 ];
};
}