2013-02-06 11:33:55 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-07-03 20:26:31 +01:00
|
|
|
name = "boost-headers-1.54.0";
|
2013-02-06 11:33:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-03 20:26:31 +01:00
|
|
|
url = "mirror://sourceforge/boost/boost_1_54_0.tar.bz2";
|
|
|
|
sha256 = "07df925k56pbz3gvhxpx54aij34qd40a7sxw4im11brnwdyr4zh4";
|
2013-02-06 11:33:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
2013-07-03 20:26:31 +01:00
|
|
|
tar xf $src -C $out/include --strip-components=1 boost_1_54_0/boost
|
2013-02-06 11:33:55 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|