@@ -1,40 +0,0 @@
1−{ composableDerivation, fetchurl, bigloo, curl, fcgi ? null, libxml2 ? null, mysql ? null }:
2−
3−let edf = composableDerivation.edf; in
4−
5−composableDerivation.composableDerivation {} {
6− name = "roadsend-2.9.3";
7−
8− buildInputs = [bigloo curl];
9−
10− flags = edf { name = "pcre"; }
11− // edf { name = "fcgi"; enable = { inherit fcgi; }; }
12− // edf { name = "xml"; enable = { buildInputs = [ libxml2 ]; }; }
13− // edf { name = "mysql"; enable = { buildInputs = [ mysql ]; }; }
14− // edf { name = "odbc"; };
15− # // edf { name = "gtk"} }
16− # // edf { name = "gtk2", enable = { buildInputs = [ mysql ]; } }
17−
18− cfg = {
19− pcreSupport = true;
20− fcgiSupport = true;
21− xmlSupport = true;
22− mysqlSupport = true;
23− };
24−
25− src = fetchurl {
26− url = "http://code.roadsend.com/snaps/roadsend-php-20081210.tar.bz2";
27− sha256 = "0yhpiik0dyayd964wvn2k0cq7b1gihx1k3qx343r2l7lla4mapsx";
28− };
29−
30− # tell pcc where to find the fastcgi library
31− postInstall = " sed -e \"s=(ldflags fastcgi.*=(ldflags -l fastcgi -L \$fcgi)=\" -i \$out/etc/pcc.conf ";
32−
33− meta = {
34− description = "A PHP to C compiler";
35− homepage = http://www.roadsend.com;
36− # you can choose one of the following licenses:
37− # Runtime license is LPGL 2.1
38− license = ["GPL2"];
39− };
40−}