blob: 0b4bfacb6de52b1a4e728c70fa63509429513e74 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 = "Programming language with macros and syntax at once";
};
}
|