nixpkgs/pkgs/development/python-modules/twisted/default.nix

14 lines
443 B
Nix
Raw Normal View History

{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";
}