From bba637c718f23f5eb0e0f554c4b083a2089d7dd3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 23 Apr 2010 10:42:29 +0000 Subject: [PATCH] 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 --- pkgs/development/interpreters/python/3.1/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/python/3.1/default.nix b/pkgs/development/interpreters/python/3.1/default.nix index 8f3a94e137e9..963a4aec26c5 100644 --- a/pkgs/development/interpreters/python/3.1/default.nix +++ b/pkgs/development/interpreters/python/3.1/default.nix @@ -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";