mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
526b207211
the 'src', because to me this way looks simpler despite the copy of src.. svn path=/nixpkgs/trunk/; revision=33805
27 lines
623 B
Nix
27 lines
623 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "boost-1.49.0-headers";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/boost/boost_1_49_0.tar.bz2";
|
|
sha256 = "0g0d33942rm073jgqqvj3znm3rk45b2y2lplfjpyg9q7amzqlx6x";
|
|
};
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/include
|
|
tar xvf $src -C $out/include --strip-components=1 boost_1_49_0/boost
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://boost.org/";
|
|
description = "Boost C++ Library Collection";
|
|
license = "boost-license";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
|
};
|
|
}
|