2009-08-13 15:32:52 +01:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2014-09-01 06:11:32 +01:00
|
|
|
version = a.lib.attrByPath ["version"] "v6-5" a;
|
2009-08-13 15:32:52 +01:00
|
|
|
buildInputs = with a; [
|
|
|
|
sbcl
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.cs.utexas.edu/users/moore/acl2/${version}/distrib/acl2.tar.gz";
|
2014-09-01 06:11:32 +01:00
|
|
|
sha256 = "19kfclgpdyms016s06pjf3icj3mx9jlcj8vfgpbx2ac4ls0ir36g";
|
2009-08-13 15:32:52 +01:00
|
|
|
name = "acl2-${version}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doDeploy" "doBuild"];
|
|
|
|
|
|
|
|
makeFlags = ["LISP='${a.sbcl}/bin/sbcl'"];
|
|
|
|
|
|
|
|
installSuffix = "acl2";
|
|
|
|
doDeploy = (a.simplyShare installSuffix);
|
|
|
|
doBuild = a.fullDepEntry (''
|
|
|
|
cd $out/share/${installSuffix}
|
2014-09-20 09:13:43 +01:00
|
|
|
make LISP='${a.sbcl}/bin/sbcl --dynamic-space-size 2000'
|
|
|
|
make LISP='${a.sbcl}/bin/sbcl --dynamic-space-size 2000' regression
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p "$out/bin"
|
2009-08-13 15:32:52 +01:00
|
|
|
cp saved_acl2 "$out/bin/acl2"
|
|
|
|
'') ["doDeploy" "addInputs" "defEnsureDir"];
|
|
|
|
|
|
|
|
name = "acl2-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "An interpreter and a prover for a Lisp dialect";
|
2010-01-21 10:07:25 +00:00
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
2009-08-13 15:32:52 +01:00
|
|
|
];
|
2010-01-21 10:07:25 +00:00
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
2009-08-13 15:32:52 +01:00
|
|
|
};
|
|
|
|
}
|