@@ -3821,21 +3821,22 @@ in modules // {
38213821
38223822 cython = buildPythonPackage rec {
38233823 name = "Cython-${version}";
3824− version = "0.23.4";
3824+ version = "0.24";
38253825
38263826 src = pkgs.fetchurl {
38273827 url = "http://www.cython.org/release/${name}.tar.gz";
3828− sha256 = "13hdffhd37mx3gjby018xl179jaj957fy7kzi01crmimxvn2zi7y";
3828+ sha256 = "1wd3q97gia3zhsgcdlvxh26hkrf3m53i6r1l4g0yya119264vr3d";
38293829 };
38303830
38313831 buildInputs = with self; [ pkgs.pkgconfig pkgs.gdb ];
3832+ # For testing
3833+ nativeBuildInputs = with self; [ numpy pkgs.ncurses ];
38323834
38333835 checkPhase = ''
3836+ export HOME="$NIX_BUILD_TOP"
38343837 ${python.interpreter} runtests.py
38353838 '';
38363839
3837− doCheck = false; # Lots of weird compiler errors
3838−
38393840 meta = {
38403841 description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
38413842 platforms = platforms.all;