Adding ECL
svn path=/nixpkgs/trunk/; revision=19555
This commit is contained in:
parent
35424c8836
commit
99a54b362e
26
pkgs/development/compilers/ecl/default.nix
Normal file
26
pkgs/development/compilers/ecl/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
9
pkgs/development/compilers/ecl/src-for-default.nix
Normal file
9
pkgs/development/compilers/ecl/src-for-default.nix
Normal 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";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
5
pkgs/development/compilers/ecl/src-info-for-default.nix
Normal file
5
pkgs/development/compilers/ecl/src-info-for-default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
downloadPage = "http://sourceforge.net/projects/ecls/files/";
|
||||||
|
baseName = "ecl";
|
||||||
|
choiceCommand = "head -1 | sed -e 's@/download@@;'\"$skipRedirectSF\"";
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user