mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
* Python updated to 2.3.4.
svn path=/nixpkgs/trunk/; revision=1451
This commit is contained in:
parent
80ee0edb27
commit
cba0649530
2 changed files with 6 additions and 18 deletions
|
@ -1,13 +0,0 @@
|
|||
buildinputs=""
|
||||
if test -n "$zlibSupport"; then
|
||||
buildinputs="$zlib $buildinputs"
|
||||
fi
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfj $src
|
||||
cd Python-*
|
||||
./configure --prefix=$out
|
||||
|
||||
make
|
||||
make install
|
||||
|
|
@ -3,12 +3,13 @@
|
|||
assert zlibSupport -> zlib != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "python-2.3.3";
|
||||
builder = ./builder.sh;
|
||||
name = "python-2.3.4";
|
||||
src = fetchurl {
|
||||
url = http://www.python.org/ftp/python/2.3.3/Python-2.3.3.tar.bz2;
|
||||
md5 = "70ada9f65742ab2c77a96bcd6dffd9b1";
|
||||
url = http://www.python.org/ftp/python/2.3.4/Python-2.3.4.tar.bz2;
|
||||
md5 = "a2c089faa2726c142419c03472fc4063";
|
||||
};
|
||||
zlib = if zlibSupport then zlib else null;
|
||||
buildInputs = [
|
||||
(if zlibSupport then zlib else null)
|
||||
];
|
||||
inherit zlibSupport;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue