diff options
author | Ben Darwin <ben@ramanujan> | 2017-08-11 14:08:22 -0400 |
---|---|---|
committer | Ben Darwin <bcdarwin@gmail.com> | 2017-08-18 18:34:57 -0400 |
commit | b76acc95222e6ed11c6f051cb1bce091deb50aed (patch) | |
tree | dc7ca54c63290d5a989dcc84b9bd6aed47b265f2 /pkgs/development/python-modules/gpy | |
parent | 60da71407a060b1738b0acf787bff0b10fc86cad (diff) |
gpy: init at 1.7.7
Diffstat (limited to 'pkgs/development/python-modules/gpy')
-rw-r--r-- | pkgs/development/python-modules/gpy/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gpy/default.nix b/pkgs/development/python-modules/gpy/default.nix new file mode 100644 index 0000000000000..0bdc7247b3d5e --- /dev/null +++ b/pkgs/development/python-modules/gpy/default.nix @@ -0,0 +1,31 @@ +{ stdenv, buildPythonPackage, fetchPypi +, numpy, scipy, six, paramz, nose, matplotlib, cython }: + +buildPythonPackage rec { + pname = "GPy"; + version = "1.7.7"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1b4siirlkqic1lsn9bi9mnp8fpbpw1ijwv0z2i6r2zdrk3d6szs1"; + }; + + # 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 ]; + }; +} |