2006-12-13 19:04:03 +01:00
|
|
|
{stdenv, fetchurl, python, ZopeInterface}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "twisted-2.4.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2;
|
|
|
|
md5 = "42eb0c8fd0f8707a39fff1dd6adab27d";
|
|
|
|
};
|
2006-12-13 21:30:09 +01:00
|
|
|
buildInputs = [python];
|
|
|
|
propagatedBuildInputs = [ZopeInterface];
|
2006-12-13 19:04:03 +01:00
|
|
|
buildPhase = "true";
|
2006-12-13 21:30:09 +01:00
|
|
|
installCommand = "PYTHONPATH=$(toPythonPath $out):$PYTHONPATH; python ./setup.py install --prefix=$out";
|
2006-12-13 19:04:03 +01:00
|
|
|
}
|