python3Packages.Mako: fix tests
This commit is contained in:
parent
5e8be2fb84
commit
d021a26ac8
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, python
|
||||||
, markupsafe
|
, markupsafe
|
||||||
, nose
|
, nose
|
||||||
, mock
|
, mock
|
||||||
, pytest
|
|
||||||
, isPyPy
|
, isPyPy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -17,10 +17,13 @@ buildPythonPackage rec {
|
||||||
sha256 = "a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b";
|
sha256 = "a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ markupsafe nose mock pytest ];
|
checkInputs = [ markupsafe nose mock ];
|
||||||
propagatedBuildInputs = [ markupsafe ];
|
propagatedBuildInputs = [ markupsafe ];
|
||||||
|
|
||||||
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
|
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Super-fast templating language";
|
description = "Super-fast templating language";
|
||||||
|
|
Loading…
Reference in a new issue