forked from mirrors/nixpkgs
85546a8e31
* Updated scons to version 1.0.0. Also added appropriate makeWrapper calls to ensure that the python binary finds its library files. * Updated Twisted from 2.5 to 8.1. * Added an expression for buildbot. svn path=/nixpkgs/trunk/; revision=12782
14 lines
466 B
Nix
14 lines
466 B
Nix
{stdenv, fetchurl, python, ZopeInterface}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "twisted-8.1.0";
|
|
src = fetchurl {
|
|
url = http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/Twisted-8.1.0.tar.bz2;
|
|
sha256 = "0q25zbr4xzknaghha72mq57kh53qw1bf8csgp63pm9sfi72qhirl";
|
|
};
|
|
buildInputs = [python];
|
|
propagatedBuildInputs = [ZopeInterface];
|
|
buildPhase = "true";
|
|
installCommand = "PYTHONPATH=$(toPythonPath $out):$PYTHONPATH; python ./setup.py install --prefix=$out";
|
|
}
|