nixpkgs/pkgs/development/libraries/boost/1.51-headers.nix

27 lines
666 B
Nix
Raw Normal View History

2012-06-28 16:36:46 +02:00
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "boost-1.51.0-headers";
2012-06-28 16:36:46 +02:00
src = fetchurl {
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
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 ];
};
}