3
0
Fork 0
forked from mirrors/nixpkgs

* Added the build manager SCons.

svn path=/nixpkgs/trunk/; revision=4673
This commit is contained in:
Eelco Dolstra 2006-02-02 12:59:41 +00:00
parent e761659405
commit 3c614ad92f
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,13 @@
source $stdenv/setup
buildPhase=myBuildPhase
myBuildPhase() {
true
}
installPhase=myInstallPhase
myInstallPhase() {
python setup.py install --prefix=$out || fail
}
genericBuild

View file

@ -0,0 +1,11 @@
{stdenv, fetchurl, python}:
stdenv.mkDerivation {
name = "scons-0.96.1";
builder = ./builder.sh;
src = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/scons/scons-0.96.1.tar.gz;
md5 = "45b1c346edd8a0970210aeb1e82557c9";
};
buildInputs = [python];
}

View file

@ -439,6 +439,10 @@ rec {
inherit fetchurl stdenv;
};
scons = (import ../development/tools/build-managers/scons) {
inherit fetchurl stdenv python;
};
bison = (import ../development/tools/parsing/bison) {
inherit fetchurl stdenv;
m4 = gnum4;