pkgs/development/interpreters/python/3.1: renamed this package to "python3"
Python version 3.x is really quite different from 2.x. Using a new name for the package prevents Nix from performing unintended updates to the 3.x version. svn path=/nixpkgs/trunk/; revision=21264
This commit is contained in:
parent
93d2b4b7bf
commit
bba637c718
@ -12,8 +12,9 @@
|
|||||||
, sw_vers ? null
|
, sw_vers ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# I haven't spend much time on this derivation. So some of these settings may not apply to python-3.1
|
# This derivation is mostly identical to the one that builds Python 2.x.
|
||||||
#
|
# Some of these settings may not apply to the latest version. A general
|
||||||
|
# cleanup might be worthwile.
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
assert gdbmSupport -> gdbm != null;
|
assert gdbmSupport -> gdbm != null;
|
||||||
@ -47,7 +48,7 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation ( {
|
stdenv.mkDerivation ( {
|
||||||
name = "python-${version}";
|
name = "python3-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2";
|
url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user