@@ -12137,13 +12137,13 @@ in modules // {
1213712137 };
1213812138
1213912139 # most of these are simply to allow the test suite to do its job
12140− buildInputs = with self; [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ];
12140+ buildInputs = with self; optionals isPy27 [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ];
1214112141
1214212142 propagatedBuildInputs = with self; [ amqp anyjson ] ++
1214312143 (optionals (pythonOlder "2.7") [ importlib ordereddict ]);
1214412144
1214512145 # tests broken on python 2.6? https://github.com/nose-devs/nose/issues/806
12146− doCheck = (pythonAtLeast "2.7");
12146+ doCheck = isPy27;
1214712147
1214812148 meta = {
1214912149 description = "Messaging library for Python";