mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
04600bbec1
Consequently, remove `darwinLipoUtility', `darwinArchUtility', etc. svn path=/nixpkgs/trunk/; revision=33893
28 lines
687 B
Nix
28 lines
687 B
Nix
{ stdenv, fetchurl, perl, groff, cmake }:
|
|
|
|
let version = "3.0"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "llvm-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://llvm.org/releases/${version}/llvm-${version}.tar.gz";
|
|
sha256 = "0xq4gi7lflv8ilfckslhfvnja5693xjii1yvzz39kklr6hfv37ji";
|
|
};
|
|
|
|
buildInputs = [ perl groff cmake ];
|
|
|
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = http://llvm.org/;
|
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
|
license = "BSD";
|
|
maintainers = with stdenv.lib.maintainers; [viric shlevy];
|
|
platforms = with stdenv.lib.platforms; all;
|
|
};
|
|
}
|
|
|