diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2009-07-09 22:30:19 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2009-07-09 22:30:19 +0000 |
commit | 7d2931b5abae3e9781c657ecb007fcd9aeef4f6c (patch) | |
tree | e5e4c5d829b049e4d4a920dcd1239f232b8284aa /pkgs/development/interpreters/falcon | |
parent | 25a1533d9a7c9d9660fff7b1405e08610b0053af (diff) | |
download | nixlib-7d2931b5abae3e9781c657ecb007fcd9aeef4f6c.tar nixlib-7d2931b5abae3e9781c657ecb007fcd9aeef4f6c.tar.gz nixlib-7d2931b5abae3e9781c657ecb007fcd9aeef4f6c.tar.bz2 nixlib-7d2931b5abae3e9781c657ecb007fcd9aeef4f6c.tar.lz nixlib-7d2931b5abae3e9781c657ecb007fcd9aeef4f6c.tar.xz nixlib-7d2931b5abae3e9781c657ecb007fcd9aeef4f6c.tar.zst nixlib-7d2931b5abae3e9781c657ecb007fcd9aeef4f6c.zip |
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
Diffstat (limited to 'pkgs/development/interpreters/falcon')
-rw-r--r-- | pkgs/development/interpreters/falcon/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/falcon/default.nix b/pkgs/development/interpreters/falcon/default.nix new file mode 100644 index 000000000000..9800e895400c --- /dev/null +++ b/pkgs/development/interpreters/falcon/default.nix @@ -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."; + }; +} |