Author: viric
Date: Mon Apr 16 22:13:27 2012
New Revision: 33805
URL: https://nixos.org/websvn/nix/?rev=33805&sc=1
Log:
Adding a headers-only version of boost. I wrote it in a new file, replicating
the 'src', because to me this way looks simpler despite the copy of src..
Added:
nixpkgs/trunk/pkgs/development/libraries/boost/1.49-headers.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/development/libraries/boost/1.49-headers.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/development/libraries/boost/1.49-headers.nix Mon Apr
16 22:13:27 2012 (r33805)
@@ -0,0 +1,26 @@
+{ 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 ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Mon Apr 16 21:44:12
2012 (r33804)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Mon Apr 16 22:13:27
2012 (r33805)
@@ -3276,6 +3276,7 @@
boost147 = callPackage ../development/libraries/boost/1.47.nix { };
boost148 = callPackage ../development/libraries/boost/1.48.nix { };
boost149 = callPackage ../development/libraries/boost/1.49.nix { };
+ boost149headers = callPackage
../development/libraries/boost/1.49-headers.nix { };
boost = boost149;
# A Boost build with all library variants enabled. Very large (about 250
MB).
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits