forked from mirrors/nixpkgs
Add libc++
This commit is contained in:
parent
4f178d1698
commit
7786353848
28
pkgs/development/libraries/libc++/default.nix
Normal file
28
pkgs/development/libraries/libc++/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchsvn, cmake }:
|
||||
|
||||
let rev = "165151"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libc++-pre${rev}";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://llvm.org/svn/llvm-project/libcxx/trunk";
|
||||
inherit rev;
|
||||
sha256 = "00l8xx5nc3cjlmln7c1sy1i4v844has9kbfxrsziwkalzbgwaslz";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://libcxx.llvm.org/;
|
||||
description = "A new implementation of the C++ standard library, targeting C++11";
|
||||
license = "BSD";
|
||||
maintainers = stdenv.lib.maintainers.shlevy;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
@ -3030,6 +3030,8 @@ let
|
|||
|
||||
csslint = callPackage ../development/web/csslint { };
|
||||
|
||||
libcxx = callPackage ../development/libraries/libc++ { stdenv = pkgs.clangStdenv; };
|
||||
|
||||
dejagnu = callPackage ../development/tools/misc/dejagnu { };
|
||||
|
||||
ddd = callPackage ../development/tools/misc/ddd { };
|
||||
|
|
Loading…
Reference in a new issue