nixpkgs-suyu/pkgs/development/python-modules/twisted/default.nix
Eelco Dolstra 9ea7038c51 * BitTorrent 5.0.3.
* wxPython 2.6.3.

svn path=/nixpkgs/trunk/; revision=7341
2006-12-13 20:30:09 +00:00

13 lines
443 B
Nix

{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";
};
buildInputs = [python];
propagatedBuildInputs = [ZopeInterface];
buildPhase = "true";
installCommand = "PYTHONPATH=$(toPythonPath $out):$PYTHONPATH; python ./setup.py install --prefix=$out";
}