diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-02-02 12:59:41 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-02-02 12:59:41 +0000 |
commit | 3c614ad92f751161c62c0b49636a779ddf1af3a3 (patch) | |
tree | 519b3455f2175deeb99af8030e4a9d01a4810045 /pkgs | |
parent | e761659405852e3e9e764558dbbd460a75ce6446 (diff) |
* Added the build manager SCons.
svn path=/nixpkgs/trunk/; revision=4673
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/build-managers/scons/builder.sh | 13 | ||||
-rw-r--r-- | pkgs/development/tools/build-managers/scons/default.nix | 11 | ||||
-rw-r--r-- | pkgs/system/all-packages-generic.nix | 4 |
3 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/scons/builder.sh b/pkgs/development/tools/build-managers/scons/builder.sh new file mode 100644 index 0000000000000..a33aa00c137ac --- /dev/null +++ b/pkgs/development/tools/build-managers/scons/builder.sh @@ -0,0 +1,13 @@ +source $stdenv/setup + +buildPhase=myBuildPhase +myBuildPhase() { + true +} + +installPhase=myInstallPhase +myInstallPhase() { + python setup.py install --prefix=$out || fail +} + +genericBuild diff --git a/pkgs/development/tools/build-managers/scons/default.nix b/pkgs/development/tools/build-managers/scons/default.nix new file mode 100644 index 0000000000000..134c35307b56f --- /dev/null +++ b/pkgs/development/tools/build-managers/scons/default.nix @@ -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]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 5b09d4cebf7a3..8b2ef2a7fcfdb 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -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; |