1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-05 06:44:40 +00:00
nixpkgs/pkgs/development/compilers/llvm/6/lld.nix
2018-06-29 11:54:21 -05:00

34 lines
593 B
Nix

{ stdenv
, fetch
, cmake
, libxml2
, llvm
, python
, version
}:
stdenv.mkDerivation {
name = "lld-${version}";
src = fetch "lld" "04afcfq2h7ysyqxxhyhb7ig4p0vdw7mi63kh8mffl74j0rc781p7";
nativeBuildInputs = [ cmake ];
buildInputs = [ llvm libxml2 ];
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
'';
meta = {
description = "The LLVM Linker";
homepage = http://lld.llvm.org/;
license = stdenv.lib.licenses.ncsa;
platforms = stdenv.lib.platforms.all;
};
}