Updated scons and twisted; added buildbot.
* 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
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{stdenv, fetchurl, python, version, versionHash}:
|
||||
{stdenv, fetchurl, python, makeWrapper}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "scons-${version}";
|
||||
version = "1.0.0";
|
||||
meta = {
|
||||
homepage = "http://scons.org/";
|
||||
description = "An improved, cross-platform substitute for Make";
|
||||
@@ -16,9 +17,13 @@ stdenv.mkDerivation {
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/scons/scons-${version}.tar.gz";
|
||||
sha256 = "${versionHash}";
|
||||
sha256 = "13nyy7n0iddr91r136fj15brni8r5f3j6cx57w5aqfvmnb0lv51x";
|
||||
};
|
||||
propagatedBuildInputs = [python];
|
||||
propagatedBuildInputs = [python makeWrapper];
|
||||
buildPhase = "true";
|
||||
installPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1";
|
||||
installPhase =
|
||||
''
|
||||
python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1
|
||||
for n in $out/bin/*; do wrapProgram $n --set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH:\$PYTHONPATH"; done
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user