Adding ECL

svn path=/nixpkgs/trunk/; revision=19555
This commit is contained in:
Michael Raskin 2010-01-20 05:40:46 +00:00
parent 35424c8836
commit 99a54b362e
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,26 @@
a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
gmp mpfr
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
meta = {
description = "A Lisp implementation aiming to be small and fast";
maintainers = [
a.lib.maintainers.raskin
];
platforms = with a.lib.platforms;
linux;
};
}

View File

@ -0,0 +1,9 @@
rec {
version="9.6.2";
name="ecl-9.6.2";
hash="1847ppfrgfpjwc9qlfcvvsfhkarjz339qzh9mb0fwnqfihrbqpfy";
url="http://downloads.sourceforge.net/ecls/files/ecls/9.6.0/ecl-${version}.tar.gz";
advertisedUrl="http://downloads.sourceforge.net/ecls/files/ecls/9.6.0/ecl-9.6.2.tar.gz";
}

View File

@ -0,0 +1,5 @@
{
downloadPage = "http://sourceforge.net/projects/ecls/files/";
baseName = "ecl";
choiceCommand = "head -1 | sed -e 's@/download@@;'\"$skipRedirectSF\"";
}