2008-09-01 16:11:09 +01:00
|
|
|
{stdenv, fetchurl, python, makeWrapper}:
|
2006-02-02 12:59:41 +00:00
|
|
|
|
2008-09-01 16:11:09 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-06-30 19:51:01 +01:00
|
|
|
version = "1.2.0";
|
|
|
|
name = "scons-" + version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/scons/${name}.tar.gz";
|
|
|
|
sha256 = "2806451e02a42789decb6d08098b798b6b81a0a39d8d3b2fbdd3fe84ebd8a246";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [python makeWrapper];
|
|
|
|
buildPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1";
|
|
|
|
installPhase = "for n in $out/bin/*; do wrapProgram $n --set PYTHONPATH \"$(toPythonPath $out):$PYTHONPATH:\$PYTHONPATH\"; done";
|
|
|
|
|
2008-07-18 21:11:25 +01:00
|
|
|
meta = {
|
2008-06-18 23:48:54 +01:00
|
|
|
homepage = "http://scons.org/";
|
|
|
|
description = "An improved, cross-platform substitute for Make";
|
|
|
|
longDescription =
|
|
|
|
'' SCons is an Open Source software construction tool. Think of
|
|
|
|
SCons as an improved, cross-platform substitute for the classic
|
|
|
|
Make utility with integrated functionality similar to
|
|
|
|
autoconf/automake and compiler caches such as ccache. In short,
|
|
|
|
SCons is an easier, more reliable and faster way to build
|
|
|
|
software.
|
|
|
|
'';
|
2006-02-02 12:59:41 +00:00
|
|
|
};
|
|
|
|
}
|