1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

kombu: tidy up, removing py3k fussiness which is handled by the deps and adding to buildInputs to allow more of the test suite to run

This commit is contained in:
Robert Scott 2016-03-28 14:00:39 +00:00
parent 86435a1b41
commit 364b3d2453

View file

@ -11028,14 +11028,14 @@ in modules // {
sha256 = "09xpxpjz9nk8d14dj361dqdwyjwda3jlf1a7v6jif9wn2xm37ar2";
};
buildInputs = with self; optionals (!isPy3k) [ anyjson mock unittest2 nose redis ];
# most of these are simply to allow the test suite to do its job
buildInputs = with self; [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ];
propagatedBuildInputs = with self; [ amqp anyjson ] ++
(optionals (pythonOlder "2.7") [ importlib ordereddict ]);
# tests broken on python 2.6? https://github.com/nose-devs/nose/issues/806
# tests also appear to depend on anyjson, which has Py3k problems
doCheck = (pythonAtLeast "2.7") && !isPy3k ;
doCheck = (pythonAtLeast "2.7");
meta = {
description = "Messaging library for Python";