diff options
author | Shea Levy <shea@shealevy.com> | 2012-10-08 02:32:09 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2012-10-08 02:32:09 -0400 |
commit | 778635384804813f454519426a499e5363f45117 (patch) | |
tree | 777fa8818adc01952fd5111e9195a7c537e2717a /pkgs/development | |
parent | 4f178d1698209627f535af9071e51522c78e7ee9 (diff) | |
download | nixlib-778635384804813f454519426a499e5363f45117.tar nixlib-778635384804813f454519426a499e5363f45117.tar.gz nixlib-778635384804813f454519426a499e5363f45117.tar.bz2 nixlib-778635384804813f454519426a499e5363f45117.tar.lz nixlib-778635384804813f454519426a499e5363f45117.tar.xz nixlib-778635384804813f454519426a499e5363f45117.tar.zst nixlib-778635384804813f454519426a499e5363f45117.zip |
Add libc++
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/libc++/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libc++/default.nix b/pkgs/development/libraries/libc++/default.nix new file mode 100644 index 000000000000..bed953119151 --- /dev/null +++ b/pkgs/development/libraries/libc++/default.nix @@ -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; + }; +} + |