* Removed $installCommand, it's no longer needed since we split the

install and fixup phases.  You can just override installPhase.

svn path=/nixpkgs/trunk/; revision=12787
This commit is contained in:
Eelco Dolstra
2008-09-02 13:51:32 +00:00
parent 2b119ba405
commit 5d9dfc1e60
10 changed files with 38 additions and 44 deletions

View File

@@ -2,12 +2,15 @@
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";
installPhase = "PYTHONPATH=$(toPythonPath $out):$PYTHONPATH; python ./setup.py install --prefix=$out";
}