@@ -1,20 +1,13 @@
11{ stdenv, fetchurl, buildPythonPackage, isPyPy, python, libev, greenlet }:
22
33buildPythonPackage rec {
4− name = "gevent-1.1.2";
4+ name = "gevent-1.2.2";
55
66 src = fetchurl {
77 url = "mirror://pypi/g/gevent/${name}.tar.gz";
8− sha256 = "cb15cf73d69a2eeefed330858f09634e2c50bf46da9f9e7635730fcfb872c02c";
8+ sha256 = "0bbbjvi423y9k9xagrcsimnayaqymg6f2dj76m9z3mjpkjpci4a7";
99 };
1010
11− # Why do we have this patch?
12− postPatch = ''
13− substituteInPlace libev/ev.c --replace \
14− "ecb_inline void ecb_unreachable (void) ecb_noreturn" \
15− "ecb_inline ecb_noreturn void ecb_unreachable (void)"
16− '';
17−
1811 buildInputs = [ libev ];
1912 propagatedBuildInputs = stdenv.lib.optionals (!isPyPy) [ greenlet ];
2013