@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchPypi, iana-etc, libredirect,
1+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, iana-etc, libredirect,
22 pytest, case, kombu, billiard, pytz, anyjson, amqp, eventlet
33}:
44
@@ -11,6 +11,13 @@ buildPythonPackage rec {
1111 sha256 = "ff727c115533edbc7b81b2b4ba1ec88d1c2fc4836e1e2f4c3c33a76ff53e5d7f";
1212 };
1313
14+ # Skip test_RedisBackend.test_timeouts_in_url_coerced
15+ # See https://github.com/celery/celery/pull/4847
16+ patches = fetchpatch {
17+ url = https://github.com/celery/celery/commit/b2668607c909c61becd151905b4525190c19ff4a.patch;
18+ sha256 = "11w0z2ycyh8kccj4y69zb7bxppiipcwwigg6jn1q9yrcsvz170jq";
19+ };
20+
1421 # make /etc/protocols accessible to fix socket.getprotobyname('tcp') in sandbox
1522 preCheck = stdenv.lib.optionalString stdenv.isLinux ''
1623 export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols \