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:
Peter Simons 2010-04-23 10:42:29 +00:00
parent 93d2b4b7bf
commit bba637c718

View File

@ -12,8 +12,9 @@
, 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 gdbmSupport -> gdbm != null;
@ -47,7 +48,7 @@ let
in
stdenv.mkDerivation ( {
name = "python-${version}";
name = "python3-${version}";
src = fetchurl {
url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2";