From 99a54b362efabfac8696ee12f7cd0576688e9fc9 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 20 Jan 2010 05:40:46 +0000 Subject: [PATCH] Adding ECL svn path=/nixpkgs/trunk/; revision=19555 --- pkgs/development/compilers/ecl/default.nix | 26 +++++++++++++++++++ .../compilers/ecl/src-for-default.nix | 9 +++++++ .../compilers/ecl/src-info-for-default.nix | 5 ++++ 3 files changed, 40 insertions(+) create mode 100644 pkgs/development/compilers/ecl/default.nix create mode 100644 pkgs/development/compilers/ecl/src-for-default.nix create mode 100644 pkgs/development/compilers/ecl/src-info-for-default.nix diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix new file mode 100644 index 000000000000..2571c09a224b --- /dev/null +++ b/pkgs/development/compilers/ecl/default.nix @@ -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; + }; +} diff --git a/pkgs/development/compilers/ecl/src-for-default.nix b/pkgs/development/compilers/ecl/src-for-default.nix new file mode 100644 index 000000000000..8e1753cb41fa --- /dev/null +++ b/pkgs/development/compilers/ecl/src-for-default.nix @@ -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"; + + +} diff --git a/pkgs/development/compilers/ecl/src-info-for-default.nix b/pkgs/development/compilers/ecl/src-info-for-default.nix new file mode 100644 index 000000000000..84be3b3f5273 --- /dev/null +++ b/pkgs/development/compilers/ecl/src-info-for-default.nix @@ -0,0 +1,5 @@ +{ + downloadPage = "http://sourceforge.net/projects/ecls/files/"; + baseName = "ecl"; + choiceCommand = "head -1 | sed -e 's@/download@@;'\"$skipRedirectSF\""; +}