2008-09-01 17:11:09 +02:00
|
|
|
{stdenv, fetchurl, python, makeWrapper}:
|
2006-02-02 13:59:41 +01:00
|
|
|
|
2008-09-01 17:11:09 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2010-04-12 13:21:22 +02:00
|
|
|
version = "1.3.0";
|
2009-06-30 20:51:01 +02:00
|
|
|
name = "scons-" + version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/scons/${name}.tar.gz";
|
2010-04-12 13:21:22 +02:00
|
|
|
sha256 = "4bde47b9a40fe767f089f5996d56b6e85a2d4929309b9c07a2dff363a78b0002";
|
2009-06-30 20:51:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [python makeWrapper];
|
|
|
|
buildPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1";
|
2009-07-13 22:08:44 +02:00
|
|
|
installPhase = "for n in $out/bin/*; do wrapProgram $n --suffix PYTHONPATH ':' \"$(toPythonPath $out)\"; done";
|
2009-06-30 20:51:01 +02:00
|
|
|
|
2008-07-18 22:11:25 +02:00
|
|
|
meta = {
|
2008-06-19 00:48:54 +02: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.
|
|
|
|
'';
|
2010-05-09 18:01:44 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2006-02-02 13:59:41 +01:00
|
|
|
};
|
|
|
|
}
|