pythonPackages.pytest_32: move into celery

as that's the only consumer of this version of Pytest.
This commit is contained in:
Frederik Rietdijk
2018-08-13 11:51:42 +02:00
parent 381639716f
commit 4e659884f9
2 changed files with 13 additions and 11 deletions

View File

@@ -2,7 +2,18 @@
pytest, case, kombu, billiard, pytz, anyjson, amqp, eventlet
}:
buildPythonPackage rec {
let
# Needed for celery
pytest_32 = pytest.overridePythonAttrs( oldAttrs: rec {
version = "3.2.5";
src = oldAttrs.src.override {
inherit version;
sha256 = "6d5bd4f7113b444c55a3bbb5c738a3dd80d43563d063fc42dcb0aaefbdd78b81";
};
});
in buildPythonPackage rec {
pname = "celery";
version = "4.2.0";