1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

libtbb: init at 2018_U1

This commit is contained in:
David Izquierdo 2017-10-21 13:33:08 +02:00 committed by Nikolay Amiantov
parent 06c154386e
commit abf222ad38
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, tree }:
stdenv.mkDerivation rec {
name = "libtbb-${version}";
version = "2018_U1";
src = fetchFromGitHub {
owner = "01org";
repo = "tbb";
rev = "${version}";
sha256 = "1lygz07va6hsv2vlx9zwz5d2n81rxsdhmh0pqxgj8n1bvb1rp0qw";
};
buildInputs = [ tree ];
installPhase = ''
mkdir -p "$out"/usr/include "$out"/lib
install -m755 build/linux_*/*.so* "$out"/lib/
cp -a include/tbb "$out"/usr/include/
'';
meta = with stdenv.lib; {
homepage = "https://www.threadingbuildingblocks.org/";
description = "High level abstract threading library";
platforms = platforms.unix;
license = licenses.asl20;
maintainers = with maintainers; [ dizfer ];
};
}

View file

@ -3119,6 +3119,8 @@ with pkgs;
libsrs2 = callPackage ../development/libraries/libsrs2 { };
libtbb = callPackage ../development/libraries/libtbb { };
libtermkey = callPackage ../development/libraries/libtermkey { };
libtelnet = callPackage ../development/libraries/libtelnet { };