gpy: init at 1.7.7
This commit is contained in:
parent
60da71407a
commit
b76acc9522
31
pkgs/development/python-modules/gpy/default.nix
Normal file
31
pkgs/development/python-modules/gpy/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -6406,6 +6406,8 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpy = callPackage ../development/python-modules/gpy { };
|
||||||
|
|
||||||
gitdb = buildPythonPackage rec {
|
gitdb = buildPythonPackage rec {
|
||||||
name = "gitdb-0.6.4";
|
name = "gitdb-0.6.4";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user