Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pypy: merge 2.7 and 3.5 into a single expression

This commit merges the two expressions in a single one, using
the passthru function that is shared with CPython.

+185 -307
+27 -4
pkgs/development/interpreters/python/default.nix
··· 98 98 inherit passthruFun; 99 99 }; 100 100 101 - # pypy27 = callPackage ./pypy { 102 - # self = pypy27; 103 - # implementation = "pypy"; 104 - # }; 101 + pypy27 = callPackage ./pypy { 102 + self = pypy27; 103 + sourceVersion = { 104 + major = "6"; 105 + minor = "0"; 106 + patch = "0"; 107 + }; 108 + sha256 = "1qjwpc8n68sxxlfg36s5vn1h2gdfvvd6lxvr4lzbvfwhzrgqahsw"; 109 + pythonVersion = "2.7"; 110 + db = db.override { dbmSupport = true; }; 111 + python = python27; 112 + inherit passthruFun; 113 + }; 114 + 115 + pypy3 = callPackage ./pypy { 116 + self = pypy3; 117 + sourceVersion = { 118 + major = "6"; 119 + minor = "0"; 120 + patch = "0"; 121 + }; 122 + sha256 = "0lwq8nn0r5yj01bwmkk5p7xvvrp4s550l8184mkmn74d3gphrlwg"; 123 + pythonVersion = "3.5"; 124 + db = db.override { dbmSupport = true; }; 125 + python = python27; 126 + inherit passthruFun; 127 + }; 105 128 106 129 })
-136
pkgs/development/interpreters/python/pypy/2.7/default.nix
··· 1 - { stdenv, substituteAll, fetchurl 2 - , zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi 3 - , sqlite, openssl, ncurses, python, expat, tcl, tk, tix, xlibsWrapper, libX11 4 - , makeWrapper, callPackage, self, gdbm, db 5 - , python-setup-hook 6 - # For the Python package set 7 - , packageOverrides ? (self: super: {}) 8 - }: 9 - 10 - assert zlibSupport -> zlib != null; 11 - 12 - let 13 - version = "6.0.0"; 14 - pythonVersion = "2.7"; 15 - libPrefix = "pypy${pythonVersion}"; 16 - sitePackages = "site-packages"; 17 - 18 - pythonForPypy = python.withPackages (ppkgs: [ ppkgs.pycparser ]); 19 - 20 - in stdenv.mkDerivation rec { 21 - name = "pypy-${version}"; 22 - inherit version pythonVersion; 23 - 24 - src = fetchurl { 25 - url = "https://bitbucket.org/pypy/pypy/get/release-pypy${pythonVersion}-v${version}.tar.bz2"; 26 - sha256 = "1qjwpc8n68sxxlfg36s5vn1h2gdfvvd6lxvr4lzbvfwhzrgqahsw"; 27 - }; 28 - 29 - nativeBuildInputs = [ pkgconfig makeWrapper ]; 30 - buildInputs = [ 31 - bzip2 openssl pythonForPypy libffi ncurses expat sqlite tk tcl xlibsWrapper libX11 gdbm db 32 - ] ++ stdenv.lib.optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc 33 - ++ stdenv.lib.optional zlibSupport zlib; 34 - 35 - hardeningDisable = stdenv.lib.optional stdenv.isi686 "pic"; 36 - 37 - C_INCLUDE_PATH = stdenv.lib.makeSearchPathOutput "dev" "include" buildInputs; 38 - LIBRARY_PATH = stdenv.lib.makeLibraryPath buildInputs; 39 - LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath (stdenv.lib.filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs); 40 - 41 - patches = [ 42 - (substituteAll { 43 - src = ./tk_tcl_paths.patch; 44 - inherit tk tcl; 45 - tk_dev = tk.dev; 46 - tcl_dev = tcl; 47 - tk_libprefix = tk.libPrefix; 48 - tcl_libprefix = tcl.libPrefix; 49 - }) 50 - ]; 51 - 52 - postPatch = '' 53 - substituteInPlace "lib-python/2.7/lib-tk/Tix.py" --replace "os.environ.get('TIX_LIBRARY')" "os.environ.get('TIX_LIBRARY') or '${tix}/lib'" 54 - 55 - # hint pypy to find nix ncurses 56 - substituteInPlace pypy/module/_minimal_curses/fficurses.py \ 57 - --replace "/usr/include/ncurses/curses.h" "${ncurses.dev}/include/curses.h" \ 58 - --replace "ncurses/curses.h" "${ncurses.dev}/include/curses.h" \ 59 - --replace "ncurses/term.h" "${ncurses.dev}/include/term.h" \ 60 - --replace "libraries=['curses']" "libraries=['ncurses']" 61 - 62 - sed -i "s@libraries=\['sqlite3'\]\$@libraries=['sqlite3'], include_dirs=['${sqlite.dev}/include'], library_dirs=['${sqlite.out}/lib']@" lib_pypy/_sqlite3_build.py 63 - ''; 64 - 65 - buildPhase = '' 66 - ${pythonForPypy.interpreter} rpython/bin/rpython \ 67 - --make-jobs="$NIX_BUILD_CORES" \ 68 - -Ojit \ 69 - --batch pypy/goal/targetpypystandalone.py 70 - ''; 71 - 72 - setupHook = python-setup-hook sitePackages; 73 - 74 - doCheck = true; 75 - checkPhase = '' 76 - export TERMINFO="${ncurses.out}/share/terminfo/"; 77 - export TERM="xterm"; 78 - export HOME="$TMPDIR"; 79 - # disable shutils because it assumes gid 0 exists 80 - # disable socket because it has two actual network tests that fail 81 - # disable test_urllib2net, test_urllib2_localnet, and test_urllibnet because they require networking (example.com) 82 - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k 'not ( test_urllib2net or test_urllibnet or test_urllib2_localnet or test_socket or test_shutil )' lib-python 83 - ''; 84 - 85 - installPhase = '' 86 - mkdir -p $out/{bin,include,lib,pypy-c} 87 - 88 - cp -R {include,lib_pypy,lib-python,pypy-c} $out/pypy-c 89 - cp libpypy-c.so $out/lib/ 90 - ln -s $out/pypy-c/pypy-c $out/bin/pypy 91 - chmod +x $out/bin/pypy 92 - 93 - # other packages expect to find stuff according to libPrefix 94 - ln -s $out/pypy-c/include $out/include/${libPrefix} 95 - ln -s $out/pypy-c/lib-python/${pythonVersion} $out/lib/${libPrefix} 96 - 97 - # We must wrap the original, not the symlink. 98 - # PyPy uses argv[0] to find its standard library, and while it knows 99 - # how to follow symlinks, it doesn't know about wrappers. So, it 100 - # will think the wrapper is the original. As long as the wrapper has 101 - # the same path as the original, this is OK. 102 - wrapProgram "$out/pypy-c/pypy-c" \ 103 - --set LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:$out/lib" \ 104 - --set LIBRARY_PATH "${LIBRARY_PATH}:$out/lib" 105 - 106 - # verify cffi modules 107 - $out/bin/pypy -c "import Tkinter;import sqlite3;import curses" 108 - 109 - # Python on Nix is not manylinux1 compatible. https://github.com/NixOS/nixpkgs/issues/18484 110 - echo "manylinux1_compatible=False" >> $out/lib/${libPrefix}/_manylinux.py 111 - ''; 112 - 113 - passthru = let 114 - pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;}; 115 - in rec { 116 - inherit zlibSupport libPrefix sitePackages; 117 - executable = "pypy"; 118 - isPypy = true; 119 - isPy2 = true; 120 - isPy27 = true; 121 - buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; }; 122 - interpreter = "${self}/bin/${executable}"; 123 - withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;}; 124 - pkgs = pythonPackages; 125 - }; 126 - 127 - enableParallelBuilding = true; # almost no parallelization without STM 128 - 129 - meta = with stdenv.lib; { 130 - homepage = http://pypy.org/; 131 - description = "Fast, compliant alternative implementation of the Python language (2.7.13)"; 132 - license = licenses.mit; 133 - platforms = [ "i686-linux" "x86_64-linux" ]; 134 - maintainers = with maintainers; [ ]; 135 - }; 136 - }
-17
pkgs/development/interpreters/python/pypy/2.7/tk_tcl_paths.patch
··· 1 - --- pypy-pypy-84a2f3e6a7f8.org/lib_pypy/_tkinter/tklib_build.py 2017-10-03 11:49:20.000000000 +0100 2 - +++ pypy-pypy-84a2f3e6a7f8/lib_pypy/_tkinter/tklib_build.py 2017-11-21 13:20:51.398607530 +0000 3 - @@ -24,11 +24,11 @@ 4 - else: 5 - # On some Linux distributions, the tcl and tk libraries are 6 - # stored in /usr/include, so we must check this case also 7 - - libdirs = [] 8 - + libdirs = ["@tcl@/lib", "@tk@/lib"] 9 - found = False 10 - for _ver in ['', '8.6', '8.5']: 11 - - incdirs = ['/usr/include/tcl' + _ver] 12 - - linklibs = ['tcl' + _ver, 'tk' + _ver] 13 - + incdirs = ['@tcl_dev@/include', '@tk_dev@/include'] 14 - + linklibs = ['@tcl_libprefix@', '@tk_libprefix@'] 15 - if os.path.isdir(incdirs[0]): 16 - found = True 17 - break
-138
pkgs/development/interpreters/python/pypy/3/default.nix
··· 1 - { stdenv, substituteAll, fetchurl 2 - , zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi 3 - , sqlite, openssl, ncurses, python, expat, tcl, tk, tix, xlibsWrapper, libX11 4 - , makeWrapper, callPackage, self, gdbm, db, lzma 5 - , python-setup-hook 6 - # For the Python package set 7 - , packageOverrides ? (self: super: {}) 8 - }: 9 - 10 - assert zlibSupport -> zlib != null; 11 - 12 - let 13 - version = "6.0.0"; 14 - pythonVersion = "3.5"; 15 - libPrefix = "pypy${pythonVersion}"; 16 - sitePackages = "site-packages"; 17 - 18 - pythonForPypy = python.withPackages (ppkgs: [ ppkgs.pycparser ]); 19 - 20 - in stdenv.mkDerivation rec { 21 - name = "pypy3-${version}"; 22 - inherit version pythonVersion; 23 - 24 - src = fetchurl { 25 - url = "https://bitbucket.org/pypy/pypy/get/release-pypy${pythonVersion}-v${version}.tar.bz2"; 26 - sha256 = "0lwq8nn0r5yj01bwmkk5p7xvvrp4s550l8184mkmn74d3gphrlwg"; 27 - }; 28 - 29 - nativeBuildInputs = [ pkgconfig makeWrapper ]; 30 - buildInputs = [ 31 - bzip2 openssl pythonForPypy libffi ncurses expat sqlite tk tcl xlibsWrapper libX11 gdbm db lzma 32 - ] ++ stdenv.lib.optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc 33 - ++ stdenv.lib.optional zlibSupport zlib; 34 - 35 - hardeningDisable = stdenv.lib.optional stdenv.isi686 "pic"; 36 - 37 - C_INCLUDE_PATH = stdenv.lib.makeSearchPathOutput "dev" "include" buildInputs; 38 - LIBRARY_PATH = stdenv.lib.makeLibraryPath buildInputs; 39 - LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath (stdenv.lib.filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs); 40 - 41 - patches = [ 42 - (substituteAll { 43 - src = ./tk_tcl_paths.patch; 44 - inherit tk tcl; 45 - tk_dev = tk.dev; 46 - tcl_dev = tcl; 47 - tk_libprefix = tk.libPrefix; 48 - tcl_libprefix = tcl.libPrefix; 49 - }) 50 - ]; 51 - 52 - postPatch = '' 53 - substituteInPlace "lib-python/3/tkinter/tix.py" --replace "os.environ.get('TIX_LIBRARY')" "os.environ.get('TIX_LIBRARY') or '${tix}/lib'" 54 - 55 - # hint pypy to find nix ncurses 56 - substituteInPlace pypy/module/_minimal_curses/fficurses.py \ 57 - --replace "/usr/include/ncurses/curses.h" "${ncurses.dev}/include/curses.h" \ 58 - --replace "ncurses/curses.h" "${ncurses.dev}/include/curses.h" \ 59 - --replace "ncurses/term.h" "${ncurses.dev}/include/term.h" \ 60 - --replace "libraries=['curses']" "libraries=['ncurses']" 61 - 62 - sed -i "s@libraries=\['sqlite3'\]\$@libraries=['sqlite3'], include_dirs=['${sqlite.dev}/include'], library_dirs=['${sqlite.out}/lib']@" lib_pypy/_sqlite3_build.py 63 - ''; 64 - 65 - buildPhase = '' 66 - ${pythonForPypy.interpreter} rpython/bin/rpython \ 67 - --make-jobs="$NIX_BUILD_CORES" \ 68 - -Ojit \ 69 - --batch pypy/goal/targetpypystandalone.py 70 - ''; 71 - 72 - setupHook = python-setup-hook sitePackages; 73 - 74 - doCheck = true; 75 - checkPhase = '' 76 - export TERMINFO="${ncurses.out}/share/terminfo/"; 77 - export TERM="xterm"; 78 - export HOME="$TMPDIR"; 79 - # disable asyncio due to https://github.com/NixOS/nix/issues/1238 80 - # disable os due to https://github.com/NixOS/nixpkgs/issues/10496 81 - # disable pathlib due to https://bitbucket.org/pypy/pypy/pull-requests/594 82 - # disable shutils because it assumes gid 0 exists 83 - # disable socket because it has two actual network tests that fail 84 - # disable tarfile because it assumes gid 0 exists 85 - ${pythonForPypy.interpreter} ./pypy/test_all.py --pypy=./pypy3-c -k 'not ( test_asyncio or test_os or test_pathlib or test_shutil or test_socket or test_tarfile )' lib-python 86 - ''; 87 - 88 - installPhase = '' 89 - mkdir -p $out/{bin,include,lib,pypy3-c} 90 - 91 - cp -R {include,lib_pypy,lib-python,pypy3-c} $out/pypy3-c 92 - cp libpypy3-c.so $out/lib/ 93 - ln -s $out/pypy3-c/pypy3-c $out/bin/pypy3 94 - 95 - # other packages expect to find stuff according to libPrefix 96 - ln -s $out/pypy3-c/include $out/include/${libPrefix} 97 - ln -s $out/pypy3-c/lib-python/3 $out/lib/${libPrefix} 98 - 99 - # We must wrap the original, not the symlink. 100 - # PyPy uses argv[0] to find its standard library, and while it knows 101 - # how to follow symlinks, it doesn't know about wrappers. So, it 102 - # will think the wrapper is the original. As long as the wrapper has 103 - # the same path as the original, this is OK. 104 - wrapProgram "$out/pypy3-c/pypy3-c" \ 105 - --set LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:$out/lib" \ 106 - --set LIBRARY_PATH "${LIBRARY_PATH}:$out/lib" 107 - 108 - # verify cffi modules 109 - $out/bin/pypy3 -c "import tkinter;import sqlite3;import curses;import lzma" 110 - 111 - # Python on Nix is not manylinux1 compatible. https://github.com/NixOS/nixpkgs/issues/18484 112 - echo "manylinux1_compatible=False" >> $out/lib/${libPrefix}/_manylinux.py 113 - ''; 114 - 115 - passthru = let 116 - pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;}; 117 - in rec { 118 - inherit zlibSupport libPrefix sitePackages; 119 - executable = "pypy3"; 120 - isPypy = true; 121 - isPy3 = true; 122 - isPy35 = true; 123 - buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; }; 124 - interpreter = "${self}/bin/${executable}"; 125 - withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;}; 126 - pkgs = pythonPackages; 127 - }; 128 - 129 - enableParallelBuilding = true; # almost no parallelization without STM 130 - 131 - meta = with stdenv.lib; { 132 - homepage = http://pypy.org/; 133 - description = "Fast, compliant alternative implementation of the Python language (3.5.3)"; 134 - license = licenses.mit; 135 - platforms = [ "i686-linux" "x86_64-linux" ]; 136 - maintainers = with maintainers; [ andersk ]; 137 - }; 138 - }
pkgs/development/interpreters/python/pypy/3/tk_tcl_paths.patch pkgs/development/interpreters/python/pypy/tk_tcl_paths.patch
+157
pkgs/development/interpreters/python/pypy/default.nix
··· 1 + { stdenv, substituteAll, fetchurl 2 + , zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi 3 + , sqlite, openssl, ncurses, python, expat, tcl, tk, tix, xlibsWrapper, libX11 4 + , makeWrapper, callPackage, self, gdbm, db, lzma 5 + , python-setup-hook 6 + # For the Python package set 7 + , packageOverrides ? (self: super: {}) 8 + , sourceVersion 9 + , pythonVersion 10 + , sha256 11 + , passthruFun 12 + }: 13 + 14 + assert zlibSupport -> zlib != null; 15 + 16 + with stdenv.lib; 17 + 18 + let 19 + isPy3k = substring 0 1 pythonVersion == "3"; 20 + passthru = passthruFun rec { 21 + inherit self sourceVersion pythonVersion packageOverrides; 22 + implementation = "pypy"; 23 + libPrefix = "pypy${pythonVersion}"; 24 + executable = "pypy${if isPy3k then "3" else ""}"; 25 + pythonForBuild = self; # No cross-compiling for now. 26 + sitePackages = "site-packages"; 27 + }; 28 + pname = passthru.executable; 29 + version = with sourceVersion; "${major}.${minor}.${patch}"; 30 + pythonForPypy = python.withPackages (ppkgs: [ ppkgs.pycparser ]); 31 + 32 + in with passthru; stdenv.mkDerivation rec { 33 + inherit pname version; 34 + 35 + src = fetchurl { 36 + url = "https://bitbucket.org/pypy/pypy/get/release-pypy${pythonVersion}-v${version}.tar.bz2"; 37 + inherit sha256; 38 + }; 39 + 40 + nativeBuildInputs = [ pkgconfig makeWrapper ]; 41 + buildInputs = [ 42 + bzip2 openssl pythonForPypy libffi ncurses expat sqlite tk tcl xlibsWrapper libX11 gdbm db 43 + ] ++ optionals isPy3k [ 44 + lzma 45 + ] ++ optionals (stdenv ? cc && stdenv.cc.libc != null) [ 46 + stdenv.cc.libc 47 + ] ++ optionals zlibSupport [ 48 + zlib 49 + ]; 50 + 51 + hardeningDisable = optional stdenv.isi686 "pic"; 52 + 53 + C_INCLUDE_PATH = makeSearchPathOutput "dev" "include" buildInputs; 54 + LIBRARY_PATH = makeLibraryPath buildInputs; 55 + LD_LIBRARY_PATH = makeLibraryPath (filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs); 56 + 57 + patches = [ 58 + (substituteAll { 59 + src = ./tk_tcl_paths.patch; 60 + inherit tk tcl; 61 + tk_dev = tk.dev; 62 + tcl_dev = tcl; 63 + tk_libprefix = tk.libPrefix; 64 + tcl_libprefix = tcl.libPrefix; 65 + }) 66 + ]; 67 + 68 + postPatch = '' 69 + substituteInPlace "lib-python/${if isPy3k then "3/tkinter/tix.py" else "2.7/lib-tk/Tix.py"}" --replace "os.environ.get('TIX_LIBRARY')" "os.environ.get('TIX_LIBRARY') or '${tix}/lib'" 70 + 71 + # hint pypy to find nix ncurses 72 + substituteInPlace pypy/module/_minimal_curses/fficurses.py \ 73 + --replace "/usr/include/ncurses/curses.h" "${ncurses.dev}/include/curses.h" \ 74 + --replace "ncurses/curses.h" "${ncurses.dev}/include/curses.h" \ 75 + --replace "ncurses/term.h" "${ncurses.dev}/include/term.h" \ 76 + --replace "libraries=['curses']" "libraries=['ncurses']" 77 + 78 + sed -i "s@libraries=\['sqlite3'\]\$@libraries=['sqlite3'], include_dirs=['${sqlite.dev}/include'], library_dirs=['${sqlite.out}/lib']@" lib_pypy/_sqlite3_build.py 79 + ''; 80 + 81 + buildPhase = '' 82 + ${pythonForPypy.interpreter} rpython/bin/rpython \ 83 + --make-jobs="$NIX_BUILD_CORES" \ 84 + -Ojit \ 85 + --batch pypy/goal/targetpypystandalone.py 86 + ''; 87 + 88 + setupHook = python-setup-hook sitePackages; 89 + 90 + doCheck = true; 91 + checkPhase = let 92 + disabledTests = [ 93 + # disable shutils because it assumes gid 0 exists 94 + "test_shutil" 95 + # disable socket because it has two actual network tests that fail 96 + "test_socket" 97 + ] ++ optionals (!isPy3k) [ 98 + # disable test_urllib2net, test_urllib2_localnet, and test_urllibnet because they require networking (example.com) 99 + "test_urllib2net" 100 + "test_urllibnet" 101 + "test_urllib2_localnet" 102 + ] ++ optionals isPy3k [ 103 + # disable asyncio due to https://github.com/NixOS/nix/issues/1238 104 + "test_asyncio" 105 + # disable os due to https://github.com/NixOS/nixpkgs/issues/10496 106 + "test_os" 107 + # disable pathlib due to https://bitbucket.org/pypy/pypy/pull-requests/594 108 + "test_pathlib" 109 + # disable tarfile because it assumes gid 0 exists 110 + "test_tarfile" 111 + ]; 112 + in '' 113 + export TERMINFO="${ncurses.out}/share/terminfo/"; 114 + export TERM="xterm"; 115 + export HOME="$TMPDIR"; 116 + 117 + ${pythonForPypy.interpreter} ./pypy/test_all.py --pypy=./${executable}-c -k 'not (${concatStringsSep " or " disabledTests})' lib-python 118 + ''; 119 + 120 + installPhase = '' 121 + mkdir -p $out/{bin,include,lib,${executable}-c} 122 + 123 + cp -R {include,lib_pypy,lib-python,${executable}-c} $out/${executable}-c 124 + cp lib${executable}-c.so $out/lib/ 125 + ln -s $out/${executable}-c/${executable}-c $out/bin/${executable} 126 + 127 + # other packages expect to find stuff according to libPrefix 128 + ln -s $out/${executable}/include $out/include/${libPrefix} 129 + ln -s $out/${executable}-c/lib-python/${if isPy3k then "3" else pythonVersion} $out/lib/${libPrefix} 130 + 131 + # We must wrap the original, not the symlink. 132 + # PyPy uses argv[0] to find its standard library, and while it knows 133 + # how to follow symlinks, it doesn't know about wrappers. So, it 134 + # will think the wrapper is the original. As long as the wrapper has 135 + # the same path as the original, this is OK. 136 + wrapProgram "$out/${executable}-c/${executable}-c" \ 137 + --set LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:$out/lib" \ 138 + --set LIBRARY_PATH "${LIBRARY_PATH}:$out/lib" 139 + 140 + # verify cffi modules 141 + $out/bin/${executable} -c ${if isPy3k then "'import tkinter;import sqlite3;import curses;import lzma'" else "'import Tkinter;import sqlite3;import curses'"} 142 + 143 + # Python on Nix is not manylinux1 compatible. https://github.com/NixOS/nixpkgs/issues/18484 144 + echo "manylinux1_compatible=False" >> $out/lib/${libPrefix}/_manylinux.py 145 + ''; 146 + 147 + inherit passthru; 148 + enableParallelBuilding = true; # almost no parallelization without STM 149 + 150 + meta = with stdenv.lib; { 151 + homepage = http://pypy.org/; 152 + description = "Fast, compliant alternative implementation of the Python language (3.5.3)"; 153 + license = licenses.mit; 154 + platforms = [ "i686-linux" "x86_64-linux" ]; 155 + maintainers = with maintainers; [ andersk ]; 156 + }; 157 + }
+1 -12
pkgs/top-level/all-packages.nix
··· 7954 7954 python3Packages = python3.pkgs; 7955 7955 7956 7956 pythonInterpreters = callPackage ./../development/interpreters/python {}; 7957 - inherit (pythonInterpreters) python27 python35 python36 python37; 7958 - 7959 - pypy27 = callPackage ../development/interpreters/python/pypy/2.7 { 7960 - self = pypy27; 7961 - python = python27.override{x11Support=true;}; 7962 - db = db.override { dbmSupport = true; }; 7963 - }; 7964 - pypy3 = callPackage ../development/interpreters/python/pypy/3 { 7965 - self = pypy3; 7966 - python = python27; 7967 - db = db.override { dbmSupport = true; }; 7968 - }; 7957 + inherit (pythonInterpreters) python27 python35 python36 python37 pypy27 pypy3; 7969 7958 7970 7959 # Python package sets. 7971 7960 python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);