2012-06-28 16:36:46 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-09-25 12:06:36 +02:00
|
|
|
name = "boost-1.51.0-headers";
|
2012-06-28 16:36:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-09-25 12:06:36 +02:00
|
|
|
url = "mirror://sourceforge/boost/boost_1_51_0.tar.bz2";
|
|
|
|
sha256 = "fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696";
|
2012-06-28 16:36:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
2012-09-25 12:06:36 +02:00
|
|
|
tar xf $src -C $out/include --strip-components=1 ./boost_1_51_0/boost
|
2012-06-28 16:36:46 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://boost.org/";
|
|
|
|
description = "Boost C++ Library Collection";
|
|
|
|
license = "boost-license";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.viric stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
|
|
|
}
|