Merge branch 'master' into staging

This commit is contained in:
Daiderd Jordan
2018-04-24 20:22:01 +02:00
125 changed files with 4253 additions and 1787 deletions

View File

@@ -1,10 +1,14 @@
{stdenv, fetchurl
{ stdenv, fetchurl, fetchpatch
, libtool, autoconf, automake
, gmp, mpfr, libffi, makeWrapper
, noUnicode ? false
, gcc
, threadSupport ? true
, threadSupport ? false
, useBoehmgc ? true, boehmgc
}:
assert useBoehmgc -> boehmgc != null;
let
s = # Generated upstream information
rec {
@@ -19,6 +23,9 @@ let
];
propagatedBuildInputs = [
libffi gmp mpfr gcc
] ++ stdenv.lib.optionals useBoehmgc [
# replaces ecl's own gc which other packages can depend on, thus propagated
boehmgc
];
in
stdenv.mkDerivation {
@@ -39,6 +46,15 @@ stdenv.mkDerivation {
"--enable-unicode")
;
patches = [
(fetchpatch {
# Avoid infinite loop, see https://gitlab.com/embeddable-common-lisp/ecl/issues/43 (fixed upstream)
name = "avoid-infinite-loop.patch";
url = "https://gitlab.com/embeddable-common-lisp/ecl/commit/caba1989f40ef917e7486f41b9cd5c7e3c5c2d79.patch";
sha256 = "07vw91psbc9gdn8grql46ra8lq3bgkzg5v480chnbryna4sv6lbb";
})
];
hardeningDisable = [ "format" ];
postInstall = ''

View File

@@ -4,6 +4,7 @@
, noUnicode ? false
, gcc
, threadSupport ? true
, useBoehmgc ? false, boehmgc
}:
let
s = # Generated upstream information
@@ -20,6 +21,10 @@ let
];
propagatedBuildInputs = [
libffi gmp mpfr gcc
# replaces ecl's own gc which other packages can depend on, thus propagated
] ++ stdenv.lib.optionals useBoehmgc [
# replaces ecl's own gc which other packages can depend on, thus propagated
boehmgc
];
in
stdenv.mkDerivation {
@@ -53,6 +58,7 @@ stdenv.mkDerivation {
meta = {
inherit (s) version;
description = "Lisp implementation aiming to be small, fast and easy to embed";
homepage = https://common-lisp.net/project/ecl/;
license = stdenv.lib.licenses.mit ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;

View File

@@ -3,4 +3,7 @@ callPackage ./generic.nix (rec {
inherit Foundation libobjc;
version = "4.0.4.1";
sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd";
meta = {
knownVulnerabilities = [ "CVE-2009-0689" ];
};
})

View File

@@ -5,13 +5,15 @@
, version, sha256
, withLLVM ? false
, enableParallelBuilding ? true
, meta ? {}
}:
let
llvm = callPackage ./llvm.nix { };
in
stdenv.mkDerivation rec {
name = "mono-${version}";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
inherit sha256;
@@ -91,5 +93,5 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.x86;
maintainers = with stdenv.lib.maintainers; [ viric thoughtpolice obadz vrthra ];
license = stdenv.lib.licenses.free; # Combination of LGPL/X11/GPL ?
};
} // meta;
}