Skip to content

Commit

Permalink
ecl: format, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Aug 10, 2021
1 parent 483c89c commit 047fea5
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pkgs/development/compilers/ecl/16.1.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
, useBoehmgc ? true, boehmgc
}:

assert useBoehmgc -> boehmgc != null;

let
s = # Generated upstream information
rec {
baseName="ecl";
version="16.1.2";
name="${baseName}-${version}";
url="https://common-lisp.net/project/ecl/static/files/release/ecl-16.1.2.tgz";
url="https://common-lisp.net/project/ecl/static/files/release/ecl-${version}.tgz";
sha256="16ab8qs3awvdxy8xs8jy82v8r04x4wr70l9l2j45vgag18d2nj1d";
};
buildInputs = [
Expand All @@ -42,10 +40,7 @@ stdenv.mkDerivation {
"--with-gmp-libdir=${lib.getLib gmp}/lib"
# -incdir, -libdir doesn't seem to be supported for libffi
"--with-libffi-prefix=${lib.getDev libffi}"
]
++
(lib.optional (! noUnicode)
"--enable-unicode")
] ++ lib.optional (! noUnicode) "--enable-unicode"
;

patches = [
Expand Down Expand Up @@ -91,11 +86,11 @@ stdenv.mkDerivation {
--prefix NIX_LDFLAGS_BEFORE_${gcc.bintools.suffixSalt} ' ' "-L${lib.getLib libffi}/lib"
'';

meta = {
meta = with lib; {
inherit (s) version;
description = "Lisp implementation aiming to be small, fast and easy to embed";
license = lib.licenses.mit ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
license = licenses.mit ;
maintainers = [ maintainers.raskin ];
platforms = platforms.unix;
};
}

0 comments on commit 047fea5

Please sign in to comment.