python.pkgs.pyopencl: fix expression
This commit is contained in:
parent
bed35cf521
commit
0bed3b1dee
1 changed files with 7 additions and 2 deletions
|
@ -16,9 +16,9 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "pyopencl";
|
||||
version = "2017.2.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
buildInputs = [ pytest opencl-headers ocl-icd ];
|
||||
checkInputs = [ pytest ];
|
||||
buildInputs = [ opencl-headers ocl-icd ];
|
||||
|
||||
propagatedBuildInputs = [ numpy cffi pytools decorator appdirs six Mako ];
|
||||
|
||||
|
@ -27,6 +27,11 @@ buildPythonPackage rec {
|
|||
sha256 = "d2f7b04d2e819c6e90d6366b7712a7452a39fba218e51b11b02c85ab07fd2983";
|
||||
};
|
||||
|
||||
# py.test is not needed during runtime, so remove it from `install_requires`
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "pytest>=2" ""
|
||||
'';
|
||||
|
||||
# gcc: error: pygpu_language_opencl.cpp: No such file or directory
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue