pypy: inherit pythonVersion
This commit is contained in:
parent
8a4730642f
commit
12285d162c
@ -15,11 +15,9 @@ let
|
|||||||
version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
|
version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
|
||||||
libPrefix = "pypy${majorVersion}";
|
libPrefix = "pypy${majorVersion}";
|
||||||
|
|
||||||
pypy = stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "pypy-${version}";
|
name = "pypy-${version}";
|
||||||
pythonVersion = "2.7";
|
inherit majorVersion version pythonVersion;
|
||||||
|
|
||||||
inherit majorVersion version;
|
|
||||||
|
|
||||||
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";
|
||||||
@ -146,6 +144,4 @@ let
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ domenkozar ];
|
maintainers = with maintainers; [ domenkozar ];
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
in pypy
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user