2009-08-13 16:32:52 +02:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2014-09-01 07:11:32 +02:00
|
|
|
version = a.lib.attrByPath ["version"] "v6-5" a;
|
2009-08-13 16:32:52 +02: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 07:11:32 +02:00
|
|
|
sha256 = "19kfclgpdyms016s06pjf3icj3mx9jlcj8vfgpbx2ac4ls0ir36g";
|
2009-08-13 16:32:52 +02: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}
|
|
|
|
make LISP=${a.sbcl}/bin/sbcl
|
|
|
|
make LISP=${a.sbcl}/bin/sbcl regression
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$out/bin"
|
2009-08-13 16:32:52 +02: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 11:07:25 +01:00
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
2009-08-13 16:32:52 +02:00
|
|
|
];
|
2010-01-21 11:07:25 +01:00
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
2009-08-13 16:32:52 +02:00
|
|
|
};
|
|
|
|
}
|