2010-01-20 05:40:46 +00:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
s = import ./src-for-default.nix;
|
|
|
|
buildInputs = with a; [
|
2010-02-23 21:32:16 +00:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = with a; [
|
2010-01-20 05:40:46 +00:00
|
|
|
gmp mpfr
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchUrlFromSrcInfo s;
|
|
|
|
|
|
|
|
inherit (s) name;
|
2010-02-23 21:32:16 +00:00
|
|
|
inherit buildInputs propagatedBuildInputs;
|
2010-02-09 13:54:29 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-threads"
|
|
|
|
"--enable-unicode"
|
|
|
|
];
|
2010-01-20 05:40:46 +00:00
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
2010-02-23 21:32:16 +00:00
|
|
|
phaseNames = ["doConfigure" "doMakeInstall" "fixEclConfig"];
|
|
|
|
|
|
|
|
fixEclConfig = a.fullDepEntry ''
|
|
|
|
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
|
|
|
|
'' ["minInit"];
|
2010-01-20 05:40:46 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Lisp implementation aiming to be small and fast";
|
|
|
|
maintainers = [
|
|
|
|
a.lib.maintainers.raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
|
|
|
};
|
|
|
|
}
|