mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03: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;
|
assert zlibSupport -> zlib != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "python-2.3.3";
|
name = "python-2.3.4";
|
||||||
builder = ./builder.sh;
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.python.org/ftp/python/2.3.3/Python-2.3.3.tar.bz2;
|
url = http://www.python.org/ftp/python/2.3.4/Python-2.3.4.tar.bz2;
|
||||||
md5 = "70ada9f65742ab2c77a96bcd6dffd9b1";
|
md5 = "a2c089faa2726c142419c03472fc4063";
|
||||||
};
|
};
|
||||||
zlib = if zlibSupport then zlib else null;
|
buildInputs = [
|
||||||
|
(if zlibSupport then zlib else null)
|
||||||
|
];
|
||||||
inherit zlibSupport;
|
inherit zlibSupport;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue