mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
* Added the build manager SCons.
svn path=/nixpkgs/trunk/; revision=4673
This commit is contained in:
parent
e761659405
commit
3c614ad92f
3 changed files with 28 additions and 0 deletions
13
pkgs/development/tools/build-managers/scons/builder.sh
Normal file
13
pkgs/development/tools/build-managers/scons/builder.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
source $stdenv/setup
|
||||
|
||||
buildPhase=myBuildPhase
|
||||
myBuildPhase() {
|
||||
true
|
||||
}
|
||||
|
||||
installPhase=myInstallPhase
|
||||
myInstallPhase() {
|
||||
python setup.py install --prefix=$out || fail
|
||||
}
|
||||
|
||||
genericBuild
|
11
pkgs/development/tools/build-managers/scons/default.nix
Normal file
11
pkgs/development/tools/build-managers/scons/default.nix
Normal 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];
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue