pythonPackages.pystache: fix test runner

This commit is contained in:
Frederik Rietdijk 2016-01-23 21:22:03 +01:00
parent 7051a66805
commit c882af9cf3

View file

@ -16166,6 +16166,18 @@ in modules // {
sha256 = "f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a";
};
LC_ALL = "en_US.UTF-8";
buildInputs = [ pkgs.glibcLocales ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
# SyntaxError Python 3
# https://github.com/defunkt/pystache/issues/181
disabled = isPy3k;
meta = {
description = "A framework-agnostic, logic-free templating system inspired by ctemplate and et";
homepage = https://github.com/defunkt/pystache;