git.iko.soy/typeable/nixpkgs
on master help sign in
boost-build: update to version 2016.03
commit45f6bb6ba5aad658f6799a632950e1e26f0052d6 authortkatchev <tkatchev@gmail.com> dateTue 27 Jun 2017, 18:00 (9 years ago) parentdbb3037
1 file changed+12−22
pkgs/development/tools/boost-build/default.nix+12−22
pkgs/development/tools/boost-build/default.nix+12−22
@@ -1,11 +1,14 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
4− name = "boost-build-2.0-m12";
5−
6− src = fetchurl {
7− url = "mirror://sourceforge/boost/${name}.tar.bz2";
8− sha256 = "10sbbkx2752r4i1yshyp47nw29lyi1p34sy6hj7ivvnddiliayca";
4+ name = "boost-build-2.0-${version}";
5+ version = "2016.03";
6+
7+ src = fetchFromGitHub {
8+ owner = "boostorg";
9+ repo = "build";
10+ rev = version;
11+ sha256 = "1qw5marmp7z09nwcjlqrmqdg9b6myfqj3zvfz888x9mbidrmhn6p";
912 };
1013
1114 hardeningDisable = [ "format" ];
@@ -17,30 +20,17 @@ stdenv.mkDerivation rec {
1720 '';
1821
1922 buildPhase = ''
20− cd jam_src
21− ./build.sh
23+ ./bootstrap.sh
2224 '';
2325
2426 installPhase = ''
25− # Install Bjam
26− mkdir -p $out/bin
27− cd "$(ls | grep bin)"
28− cp -a bjam $out/bin
29−
30− # Bjam is B2
31− ln -s bjam $out/bin/b2
32−
33− # Install the shared files (don't include jam_src)
34− cd ../..
35− rm -rf jam_src
36− mkdir -p $out/share
37− cp -a . $out/share/boost-build
27+ ./b2 install --prefix=$out
3828 '';
3929
4030 meta = with stdenv.lib; {
4131 homepage = http://www.boost.org/boost-build2/;
4232 license = stdenv.lib.licenses.boost;
4333 platforms = platforms.unix;
44− maintainers = with maintainers; [ wkennington ];
34+ maintainers = with maintainers; [ ivan-tkatchev ];
4535 };
4636}