2008-07-17 10:57:47 +01:00
|
|
|
args: with args;
|
2010-02-20 18:34:50 +00:00
|
|
|
let version = lib.attrByPath ["version"] "4.2.4" args; in
|
2008-07-17 10:57:47 +01:00
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://infogroep.be/pub/plt/bundles/${version}/plt/plt-${version}-src-unix.tgz";
|
2010-02-20 18:34:50 +00:00
|
|
|
sha256 = "05azb9k0m1sp3qm3all4s39m97xwrbnqcys2vgc888nhxbff4d6g";
|
2008-07-17 10:57:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [cairo fontconfig freetype libjpeg libpng openssl
|
|
|
|
libXaw libXft perl mesa libX11 libXrender libICE xproto renderproto
|
|
|
|
pixman libSM libxcb libXext xextproto libXmu libXt zlib which];
|
|
|
|
configureFlags = ["--enable-shared" "--enable-pthreads" "--with-x"];
|
|
|
|
goSrcDir = "cd src";
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
|
2009-05-20 00:25:58 +01:00
|
|
|
preConfigure = fullDepEntry (''
|
2008-07-17 10:57:47 +01:00
|
|
|
sed -e 's@/usr/bin/uname@'"$(which uname)"'@g' -i configure
|
|
|
|
'') ["minInit" "addInputs" "doUnpack"];
|
|
|
|
|
|
|
|
name = "plt-scheme" + version;
|
|
|
|
meta = {
|
|
|
|
description = "PLT scheme environment";
|
|
|
|
homepage = http://plt-scheme.org/ ;
|
|
|
|
license = "LGPL-2.1";
|
|
|
|
licenses = ["LGPL-2.1"];
|
|
|
|
};
|
|
|
|
}
|