nixpkgs/pkgs/development/python-modules/twisted/default.nix
Eelco Dolstra e6f589d4bf * Some Python packages.
svn path=/nixpkgs/trunk/; revision=7339
2006-12-13 18:04:03 +00:00

13 lines
412 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 ZopeInterface];
buildPhase = "true";
installPhase = "PYTHONPATH=$(toPythonPath $out):$PYTHONPATH; python ./setup.py install --prefix=$out";
}