2008-06-18 23:48:54 +01:00
|
|
|
{stdenv, fetchurl, python, version, versionHash}:
|
2006-02-02 12:59:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-06-18 23:48:54 +01:00
|
|
|
name = "scons-${version}";
|
|
|
|
meta =
|
|
|
|
{
|
|
|
|
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
|
|
|
};
|
2008-06-18 23:48:54 +01:00
|
|
|
src = fetchurl
|
|
|
|
{
|
|
|
|
url = "mirror://sourceforge/scons/scons-${version}.tar.gz";
|
|
|
|
sha256 = "${versionHash}";
|
|
|
|
};
|
2008-06-19 08:24:43 +01:00
|
|
|
propagatedBuildInputs = [python];
|
2008-06-23 23:24:12 +01:00
|
|
|
buildPhase = "true";
|
|
|
|
installPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1";
|
2006-02-02 12:59:41 +00:00
|
|
|
}
|