python-fenics: put pytest in nativeBuildInputs
This commit is contained in:
parent
698ff7855d
commit
63831c398a
@ -35,10 +35,15 @@ let
|
|||||||
url = "https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-${version}.tar.gz";
|
url = "https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-${version}.tar.gz";
|
||||||
sha256 = "0mw6mynjmg6yl3l2k33yra2x84s4r6mh44ylhk9znjfk74jra8zg";
|
sha256 = "0mw6mynjmg6yl3l2k33yra2x84s4r6mh44ylhk9znjfk74jra8zg";
|
||||||
};
|
};
|
||||||
buildInputs = [ numpy pytest six ];
|
buildInputs = [ numpy six ];
|
||||||
checkPhase = ''
|
nativeBuildInputs = [ pytest ];
|
||||||
|
preCheck = ''
|
||||||
export HOME=$PWD
|
export HOME=$PWD
|
||||||
|
'';
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
py.test test/
|
py.test test/
|
||||||
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Distributed just-in-time shared library building";
|
description = "Distributed just-in-time shared library building";
|
||||||
|
Loading…
Reference in New Issue
Block a user