Update ECL to 12.7.1

This commit is contained in:
Michael Raskin 2012-10-17 15:22:43 +04:00
parent 3f0c47091c
commit df2975f928
3 changed files with 10 additions and 16 deletions

View File

@ -3,16 +3,23 @@
, ...} @ x: , ...} @ x:
builderDefsPackage (a : builderDefsPackage (a :
let let
s = import ./src-for-default.nix;
propagatedBuildInputs = with a; [ propagatedBuildInputs = with a; [
gmp mpfr gmp mpfr
]; ];
buildInputs = [ gmp libffi mpfr ]; buildInputs = [ gmp libffi mpfr ];
in in
rec { rec {
src = a.fetchUrlFromSrcInfo s; mainVersion = "12.7";
revision = "1";
version = "${mainVersion}.${revision}";
name = "ecl-${version}";
src = a.fetchurl {
url = "mirror://sourceforge/project/ecls/ecls/${mainVersion}/${name}.tar.gz";
sha256 = "0k8ww142g3bybvvnlijqsbidl8clbs1pb4ympk2ds07z5swvy2ap";
};
inherit (s) name;
inherit buildInputs propagatedBuildInputs; inherit buildInputs propagatedBuildInputs;
configureFlags = [ configureFlags = [
"--enable-threads" "--enable-threads"

View File

@ -1,7 +0,0 @@
rec {
version="12.2.1";
name="ecl-12.2.1";
hash="dbb3f83c27f3d2565ca22c1c6b4ab497bbfdd0d0a7b09dee76338f378621f091";
url="http://downloads.sourceforge.net/project/ecls/ecls/12.2/ecl-${version}.tgz";
advertisedUrl="http://downloads.sourceforge.net/project/ecls/ecls/12.2/ecl-12.2.1.tgz";
}

View File

@ -1,6 +0,0 @@
{
downloadPage = "http://sourceforge.net/projects/ecls/files/";
baseName = "ecl";
choiceCommand = "head -1 | sed -e 's@/download@@;'\"$skipRedirectSF\"";
sourceRegexp = ".*[.](tar.gz|tgz|tbz2|tar.bz2)";
}