19 version = "3.6-mono-2017-02-15";
21 src = fetchFromGitHub {
24 rev = "dbb6fdffdeb780d11851a6be77c209bd7ada4bd3";
25 sha256 = "07wd1cs3fdvzb1lv41b655z5zk34f47j8fgd9ljjimi5j9pj71f7";
28 nativeBuildInputs = [ cmake ];
35 ] ++ lib.optional stdenv.hostPlatform.isLinux valgrind;
37 propagatedBuildInputs = [
42 # hacky fix: created binaries need to be run before installation
47 postBuild = "rm -fR $out";
52 "-DLLVM_ENABLE_FFI=ON"
53 "-DLLVM_BINUTILS_INCDIR=${libbfd.dev}/include"
55 ++ lib.optional (!isDarwin) "-DBUILD_SHARED_LIBS=ON";
58 description = "Collection of modular and reusable compiler and toolchain technologies - Mono build";
59 homepage = "http://llvm.org/";
60 license = lib.licenses.bsd3;
61 maintainers = with lib.maintainers; [ thoughtpolice ];
62 platforms = lib.platforms.all;