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