Adding Falcon multiparadigm programming language. It has macros and non-trivial syntax at once, which seems interesting in itself..

svn path=/nixpkgs/trunk/; revision=16299
This commit is contained in:
Michael Raskin 2009-07-09 22:30:19 +00:00
parent 25a1533d9a
commit 7d2931b5ab
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,34 @@
a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.9.2" a;
buildInputs = with a; [
cmake
];
in
rec {
src = fetchurl {
url = "http://www.falconpl.org/project_dl/_official_rel/Falcon-${version}.tar.gz";
sha256 = "0p32syiz2nc6lmmzi0078g4nzariw5ymdjkmhw6iamc0lkkb9x3i";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doDeploy"];
doDeploy = a.fullDepEntry (''
./build.sh -i -p $out
'') ["minInit" "addInputs" "doFixInterpreter" "defEnsureDir"];
doFixInterpreter = a.fullDepEntry (''
sed -e "s@/bin/bash@$shell@" -i build.sh
'') ["minInit" "doUnpack"];
name = "falcon-" + version;
meta = {
description = "A programming language. Has macros and syntax at once.";
};
}

View File

@ -1824,6 +1824,10 @@ let
}; };
}); });
falcon = builderDefsPackage (import ../development/interpreters/falcon) {
inherit cmake;
};
gprolog = import ../development/compilers/gprolog { gprolog = import ../development/compilers/gprolog {
inherit fetchurl stdenv; inherit fetchurl stdenv;
}; };