git.iko.soy/typeable/nixpkgs
on master help sign in
tbb: 4.4-u2 -> 2018_U1, merge with libtbb

Remove libtbb derivation as a duplicate.

commitc9ac187c3c2c6da622578d9168ab9152c7d457c9 authorNikolay Amiantov <ab@fmap.me> dateSun 29 Oct 2017, 01:48 (9 years ago) parentb676aa0
4 files changed+15−47
pkgs/development/libraries/libtbb/default.nix−30 pkgs/development/libraries/tbb/default.nix+14−14 pkgs/games/steam/runtime-wrapped.nix+1−1 pkgs/top-level/all-packages.nix−2
pkgs/development/libraries/libtbb/default.nixdeleted−30
@@ -1,30 +0,0 @@
1−{ stdenv, fetchFromGitHub, tree }:
2−
3−stdenv.mkDerivation rec {
4− name = "libtbb-${version}";
5− version = "2018_U1";
6−
7− src = fetchFromGitHub {
8− owner = "01org";
9− repo = "tbb";
10− rev = "${version}";
11− sha256 = "1lygz07va6hsv2vlx9zwz5d2n81rxsdhmh0pqxgj8n1bvb1rp0qw";
12− };
13−
14− buildInputs = [ tree ];
15−
16− installPhase = ''
17− mkdir -p "$out"/usr/include "$out"/lib
18− install -m755 build/linux_*/*.so* "$out"/lib/
19− cp -a include/tbb "$out"/usr/include/
20− '';
21−
22− meta = with stdenv.lib; {
23− homepage = "https://www.threadingbuildingblocks.org/";
24− description = "High level abstract threading library";
25− platforms = platforms.unix;
26− license = licenses.asl20;
27− maintainers = with maintainers; [ dizfer ];
28− };
29−}
30−
pkgs/development/libraries/tbb/default.nix+14−14
@@ -1,16 +1,16 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchFromGitHub }:
22
3−stdenv.mkDerivation {
4− name = "tbb-4.4-u2";
3+stdenv.mkDerivation rec {
4+ name = "tbb-${version}";
5+ version = "2018_U1";
56
6− src = fetchurl {
7− url = "https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb44_20151115oss_src.tgz";
8− sha256 = "1fvprkjdxj7529hr1qkzkxkk18mx6zllrpiwglq4k3y1hpyc9m9x";
7+ src = fetchFromGitHub {
8+ owner = "01org";
9+ repo = "tbb";
10+ rev = version;
11+ sha256 = "1lygz07va6hsv2vlx9zwz5d2n81rxsdhmh0pqxgj8n1bvb1rp0qw";
912 };
1013
11− checkTarget = "test";
12− doCheck = false;
13−
1414 installPhase = ''
1515 mkdir -p $out/{lib,share/doc}
1616 cp "build/"*release*"/"*${stdenv.hostPlatform.extensions.sharedLibrary}* $out/lib/
@@ -21,10 +21,10 @@ stdenv.mkDerivation {
2121
2222 enableParallelBuilding = true;
2323
24− meta = {
24+ meta = with stdenv.lib; {
2525 description = "Intel Thread Building Blocks C++ Library";
26− homepage = http://threadingbuildingblocks.org/;
27− license = stdenv.lib.licenses.lgpl3Plus;
26+ homepage = "http://threadingbuildingblocks.org/";
27+ license = licenses.asl20;
2828 longDescription = ''
2929 Intel Threading Building Blocks offers a rich and complete approach to
3030 expressing parallelism in a C++ program. It is a library that helps you
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
3333 represents a higher-level, task-based parallelism that abstracts platform
3434 details and threading mechanisms for scalability and performance.
3535 '';
36− platforms = with stdenv.lib.platforms; linux ++ darwin;
37− maintainers = with stdenv.lib.maintainers; [ peti thoughtpolice ];
36+ platforms = with platforms; linux ++ darwin;
37+ maintainers = with maintainers; [ peti thoughtpolice dizfer ];
3838 };
3939}
pkgs/games/steam/runtime-wrapped.nix+1−1
@@ -57,7 +57,7 @@ let
5757 glew110
5858 openssl
5959 libidn
60− libtbb
60+ tbb
6161
6262 # Other things from runtime
6363 xlibs.libXinerama
pkgs/top-level/all-packages.nix−2
@@ -3121,8 +3121,6 @@ with pkgs;
31213121
31223122 libsrs2 = callPackage ../development/libraries/libsrs2 { };
31233123
3124− libtbb = callPackage ../development/libraries/libtbb { };
3125−
31263124 libtermkey = callPackage ../development/libraries/libtermkey { };
31273125
31283126 libtelnet = callPackage ../development/libraries/libtelnet { };