pypy: Change libPrefix from pypy5.10 to pypy2.7
To avoid conflicting with pypy3, as per https://github.com/NixOS/nixpkgs/pull/34066#issuecomment-359155484. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
80738ed9dc
commit
f96349c456
@ -10,19 +10,16 @@
|
|||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
majorVersion = "6.0";
|
version = "6.0.0";
|
||||||
minorVersion = "0";
|
|
||||||
minorVersionSuffix = "";
|
|
||||||
pythonVersion = "2.7";
|
pythonVersion = "2.7";
|
||||||
version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
|
libPrefix = "pypy${pythonVersion}";
|
||||||
libPrefix = "pypy${majorVersion}";
|
|
||||||
sitePackages = "site-packages";
|
sitePackages = "site-packages";
|
||||||
|
|
||||||
pythonForPypy = python.withPackages (ppkgs: [ ppkgs.pycparser ]);
|
pythonForPypy = python.withPackages (ppkgs: [ ppkgs.pycparser ]);
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "pypy-${version}";
|
name = "pypy-${version}";
|
||||||
inherit majorVersion version pythonVersion;
|
inherit version pythonVersion;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://bitbucket.org/pypy/pypy/get/release-pypy${pythonVersion}-v${version}.tar.bz2";
|
url = "https://bitbucket.org/pypy/pypy/get/release-pypy${pythonVersion}-v${version}.tar.bz2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user