@@ -20492,14 +20492,19 @@ in modules // {
2049220492 });
2049320493
2049420494 rpy2 = buildPythonPackage rec {
20495− name = "rpy2-2.5.6";
20495+ name = "rpy2-2.8.2";
2049620496 disabled = isPyPy;
2049720497 src = pkgs.fetchurl {
2049820498 url = "mirror://pypi/r/rpy2/${name}.tar.gz";
20499− sha256 = "d0d584c435b5ed376925a95a4525dbe87de7fa9260117e9f208029e0c919ad06";
20499+ sha256 = "2c1a313df4e64236dcfe1078ce847b8e3c180656c894928d3a4b391aacb9b24c";
2050020500 };
2050120501 buildInputs = with pkgs; [ readline R pcre lzma bzip2 zlib icu ];
20502− propagatedBuildInputs = [ self.singledispatch ];
20502+ propagatedBuildInputs = with self; [ singledispatch six ];
20503+
20504+ # According to manual this is how the testsuite should be invoked
20505+ checkPhase = ''
20506+ ${python.interpreter} -m rpy2.tests
20507+ '';
2050320508 meta = {
2050420509 homepage = http://rpy.sourceforge.net/rpy2;
2050520510 description = "Python interface to R";