commit
c9109e9483
2 changed files with 33 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -6224,6 +6224,8 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
gpy = callPackage ../development/python-modules/gpy { };
|
||||
|
||||
gitdb = buildPythonPackage rec {
|
||||
name = "gitdb-0.6.4";
|
||||
|
||||
|
|
Loading…
Reference in a new issue