mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 12:07:36 +00:00
ECL: update to 12.12.1
This commit is contained in:
parent
5054e8ec29
commit
f0997b9737
@ -1,47 +1,45 @@
|
||||
{builderDefsPackage
|
||||
, gmp, mpfr, libffi
|
||||
, ...} @ x:
|
||||
builderDefsPackage (a :
|
||||
let
|
||||
propagatedBuildInputs = with a; [
|
||||
{stdenv, fetchurl
|
||||
, gmp, mpfr, libffi
|
||||
, noUnicode ? false,
|
||||
}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="ecl";
|
||||
version="12.12.1";
|
||||
name="${baseName}-${version}";
|
||||
hash="15y2dgj95li6mxiz9pnllj9x88km0z8gfh46kysfllkp2pl7rrsl";
|
||||
url="mirror://sourceforge/project/ecls/ecls/12.12/ecl-12.12.1.tgz";
|
||||
sha256="15y2dgj95li6mxiz9pnllj9x88km0z8gfh46kysfllkp2pl7rrsl";
|
||||
};
|
||||
buildInputs = [
|
||||
libffi
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
gmp mpfr
|
||||
];
|
||||
buildInputs = [ gmp libffi mpfr ];
|
||||
in
|
||||
rec {
|
||||
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";
|
||||
};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs propagatedBuildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
configureFlags = [
|
||||
"--enable-threads"
|
||||
]
|
||||
++
|
||||
(a.lib.optional (! (a.lib.attrByPath ["noUnicode"] false a))
|
||||
(stdenv.lib.optional (! noUnicode)
|
||||
"--enable-unicode")
|
||||
;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall" "fixEclConfig"];
|
||||
|
||||
fixEclConfig = a.fullDepEntry ''
|
||||
postInstall = ''
|
||||
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
|
||||
'' ["minInit"];
|
||||
|
||||
'';
|
||||
meta = {
|
||||
description = "A Lisp implementation aiming to be small and fast";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
inherit (s) version;
|
||||
description = "Lisp implementation aiming to be small, fast and easy to embed";
|
||||
license = stdenv.lib.licenses.mit ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}) x
|
||||
}
|
||||
|
4
pkgs/development/compilers/ecl/default.upstream
Normal file
4
pkgs/development/compilers/ecl/default.upstream
Normal file
@ -0,0 +1,4 @@
|
||||
url http://sourceforge.net/projects/ecls/files/ecls/
|
||||
SF_version_dir
|
||||
version_link '[.]tgz/download$'
|
||||
SF_redirect
|
Loading…
Reference in New Issue
Block a user